mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
2a1645d009
uninhabited_reference: new lint Close #11851 The lint is implemented on function parameters and return types, as this is the place where the risk of exchanging references to uninhabited types is the highest. Other constructs, such as in a local variable, would require the use of `unsafe` and will clearly be done on purpose. changelog: [`uninhabited_reference`]: new lint |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |