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-01-15 19:46:20 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-15 19:46:20 +00:00
2023-02-02 23:26:26 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:21 +00:00
2023-01-17 03:06:38 +00:00
2023-01-17 03:09:49 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-30 21:51:35 +00:00
2023-01-30 20:12:19 +00:00
2023-01-18 04:45:43 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-27 00:54:31 +01:00
2023-01-17 03:09:49 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:21 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-17 03:06:38 +00:00
2023-01-16 21:06:34 +09:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-17 03:06:38 +00:00
2023-01-27 22:13:55 +01:00
2023-01-15 19:46:20 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-17 03:06:38 +00:00
2023-01-30 20:12:19 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00