You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: This generic shadows the built-in type `u16`
--> src/main.rs:4:6
|
4 | impl<u16> S<u16> {
| ^^^
|
= note: #[warn(clippy::builtin_type_shadow)] on by default
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#builtin_type_shadow
Adding new warnings to rustc requires an RFC, as such I am going to close this. If the existing clippy lint is not covering your use cases, please don't hesitate to open an issue on the clippy repository
Since hardly it is what you want and it leads to funny error messages, here an example:
The text was updated successfully, but these errors were encountered: