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
.
I tried this code: clippy-driver -Wclippy::nursery
clippy-driver -Wclippy::nursery
//@ check-pass #[derive(Debug)] struct S<T> { t: T, s: Box<S<fn(u: T)>>, } fn main() {}
warning: struct `S` is never constructed --> ./src/tools/clippy/tests/ui/crashes/ice-10508c.rs:4:8 | 4 | struct S<T> { | ^ | = note: `#[warn(dead_code)]` on by default thread 'rustc' has overflowed its stack fatal runtime error: stack overflow Aborted (core dumped)
rustc 1.87.0-nightly (351686bcf 2025-03-01) binary: rustc commit-hash: 351686bcfd18dd0f652aba69a806bfa68c57234d commit-date: 2025-03-01 host: x86_64-unknown-linux-gnu release: 1.87.0-nightly LLVM version: 20.1.0
No response
The text was updated successfully, but these errors were encountered:
This is occurring in significant_drop_tightning (checked with clippy-driver -Wclippy::significant_drop_tightening src/main.rs). I'll look closer.
significant_drop_tightning
clippy-driver -Wclippy::significant_drop_tightening src/main.rs
Sorry, something went wrong.
Probably the same issue as #13544.
This was fixed by #14641 (along with #13544, which indeed this was a duplicate of and had the same backtrace)
No branches or pull requests
Summary
.
Reproducer
I tried this code:
clippy-driver -Wclippy::nursery
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: