unused_lifetimes
yeets unsafe binders
#141758
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
F-unsafe_binders
`#![feature(unsafe_binders)]`
L-unused_lifetimes
Lint: unused_lifetimes
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Probably the most amusing bug I will encounter today :)
I tried this code:
I expected to see this happen: explanation
Instead, this happened: explanation
Meta
rustc --version --verbose
:cargo check:
cargo fix
it removes the entire
unsafe<'a> S
😆The text was updated successfully, but these errors were encountered: