mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 15:33:25 +03:00
6fa17b43d3
Makes the lint a bit more accurate, and improves the quality of the diagnostic messages by explicitly returning an error message. The new lint is also a little more aggressive: specifically, it now rejects tuples, and it recurses into function pointers.