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-29 13:01:06 +01:00
2023-02-02 23:26:34 +00:00
2023-01-29 20:19:26 +01:00
2023-01-30 17:11:35 +00:00
2023-02-04 19:10:04 +01:00