We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Min example:
trait Zoom {} struct Foo; struct Bar; impl Zoom for Foo {}
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=f9122e0d0aaecb171c6fded1d8589f19
Warns Bar is unused but not Foo.
Compiling playground v0.0.1 (/playground) warning: struct `Bar` is never constructed --> src/lib.rs:4:8 | 4 | struct Bar; | ^^^ | = note: `#[warn(dead_code)]` on by default warning: `playground` (lib) generated 1 warning Finished dev [unoptimized + debuginfo] target(s) in 0.34s
The text was updated successfully, but these errors were encountered:
Wrong repo.
Sorry, something went wrong.
This was fixed in rust-lang/rust#118257 available in recent nightly builds.
No branches or pull requests
Min example:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=f9122e0d0aaecb171c6fded1d8589f19
Warns Bar is unused but not Foo.
The text was updated successfully, but these errors were encountered: