-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
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
Spurious unused type alias warning (regression) #41203
Comments
@Mark-Simulacrum What's the "before" on that bisection? I've looked through the entire rollup and I can't find anything that would change the behavior there. |
Never mind -- sorry for the runaround, my bisect was broken, missing libstdc++6; this does not bisect to any point since 2017-01-13. |
@jseyfried says they had this working on a nightly from October without warning. |
triage: P-high |
@jseyfried do you mind self-assigning this P-high regression and taking a look? |
@brson sure. |
#38051 implementing unused type alias landed in December, so of course October nightly would work. |
cc @rust-lang/compiler another P-high bug |
I can't find an issue, but I seem to recall this being a known problem of not checking impl signatures (everything outside the body) for "use" |
Heh, sounds like a likely candidate! |
@sanxiyn think you'll have time to investigate @jseyfried's hypothesis? |
Arguably this is the same/similar bug as #18290 (this is the bug I was looking for earlier). |
Closing as a duplicate of #18290. |
This example produced a spurious unused type alias warning:
The text was updated successfully, but these errors were encountered: