Dylan DPC
496adf81de
Rollup merge of #107553 - edward-shen:edward-shen/suggest-null-ptr, r=WaffleLapkin
...
Suggest std::ptr::null if literal 0 is given to a raw pointer function argument
Implementation feels a little sus (we're parsing the span for a `0`) but it seems to fall in line the string-expected-found-char condition right above this check, so I think it's fine.
Feedback appreciated on help text? I think it's consistent but it does sound a little awkward maybe?
Fixes #107517
2023-02-06 19:54:13 +05:30
..
2023-02-02 07:34:41 +01:00
2023-01-31 18:49:03 +01:00
2023-02-03 23:04:51 +05:30
2023-02-02 08:17:13 +00:00
2023-02-04 20:29:06 +01:00
2023-02-02 22:06:23 +00:00
2023-01-31 23:38:51 +01:00
2023-02-04 15:17:32 +00:00
2023-02-05 03:47:48 +01:00
2023-02-03 08:33:40 -08:00
2023-02-02 07:47:39 +01:00
2023-02-02 07:34:41 +01:00
2023-01-31 20:28:11 +01:00
2023-02-05 17:33:10 +03:00
2023-02-01 21:56:28 +01:00
2023-02-05 03:47:22 +01:00
2023-01-31 19:24:29 +00:00
2023-02-03 21:37:41 +00:00
2023-02-04 20:13:16 -08:00
2023-02-06 09:16:15 +11:00
2023-02-05 03:48:08 +01:00
2023-02-05 17:32:26 +00:00
2023-01-31 20:28:11 +01:00
2023-02-02 10:09:48 +00:00
2023-02-01 21:49:45 +01:00
2023-02-05 03:47:38 +01:00
2023-02-06 09:09:09 +00:00
2023-02-02 23:09:51 +00:00
2023-02-02 23:20:29 +00:00
2023-01-31 10:20:58 +00:00
2023-02-05 17:33:10 +03:00
2023-02-03 06:30:23 +01:00
2023-02-05 03:47:58 +01:00
2023-02-02 05:49:07 +00:00
2023-02-04 15:56:50 +00:00
2023-02-02 08:17:13 +00:00
2023-02-05 04:01:20 +01:00
2023-02-02 08:17:13 +00:00
2023-02-02 05:26:09 +00:00
2023-02-03 21:36:59 +00:00
2023-01-31 15:59:29 -05:00