-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Concrete type only used in impl Trait
is unused
#55124
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
1.27.0 does not warn, 1.28.0 does. |
triage: P-medium; This seems like a papercut that should be easy to work-around (at least if one isn't using |
switched to P-high after prompting from @nikomatsakis |
whoops forgot to tag with T-compiler in time for the meeting... |
assigning to @nikomatsakis |
I'm grabbing this, I think I broke it and it should be easy to fix |
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Dec 4, 2018
Handle existential types in dead code analysis fixes rust-lang#55124 r? @cramertj
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Dec 4, 2018
Handle existential types in dead code analysis fixes rust-lang#55124 r? @cramertj
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Dec 5, 2018
Handle existential types in dead code analysis fixes rust-lang#55124 r? @cramertj
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this issue
Dec 5, 2018
Handle existential types in dead code analysis fixes rust-lang#55124 r? @cramertj
pietroalbini
added a commit
to pietroalbini/rust
that referenced
this issue
Dec 5, 2018
Handle existential types in dead code analysis fixes rust-lang#55124 r? @cramertj
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Aug 18, 2021
…i-obk Move private_unused.rs test to impl-trait This test was added to fix this issue rust-lang#55124 which is about impl traits but not related with type alias impl traits. r? `@oli-obk` `@bors` rollup=always
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
P-high
High priority
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code gives "warning: enum is never used:
Empty
":This regressed pretty recently. cc @oli-obk
The text was updated successfully, but these errors were encountered: