Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSpurious unused type alias warning (regression) #41203
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@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. |
This comment has been minimized.
This comment has been minimized.
|
Never mind -- sorry for the runaround, my bisect was broken, missing libstdc++6; this does not bisect to any point since 2017-01-13. |
This comment has been minimized.
This comment has been minimized.
|
@jseyfried says they had this working on a nightly from October without warning. |
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
rust-highfive
added
P-high
and removed
I-nominated
labels
Jun 8, 2017
This comment has been minimized.
This comment has been minimized.
|
@jseyfried do you mind self-assigning this P-high regression and taking a look? |
This comment has been minimized.
This comment has been minimized.
|
@brson sure. |
jseyfried
self-assigned this
Jun 15, 2017
This comment has been minimized.
This comment has been minimized.
|
#38051 implementing unused type alias landed in December, so of course October nightly would work. |
brson
added
the
I-nominated
label
Jul 13, 2017
This comment has been minimized.
This comment has been minimized.
|
cc @rust-lang/compiler another P-high bug |
This comment has been minimized.
This comment has been minimized.
|
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" |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Heh, sounds like a likely candidate! |
This comment has been minimized.
This comment has been minimized.
|
@sanxiyn think you'll have time to investigate @jseyfried's hypothesis? |
This comment has been minimized.
This comment has been minimized.
|
Arguably this is the same/similar bug as #18290 (this is the bug I was looking for earlier). |
Mark-Simulacrum
added
the
C-bug
label
Jul 22, 2017
This comment has been minimized.
This comment has been minimized.
|
Closing as a duplicate of #18290. |
jseyfried commentedApr 10, 2017
•
edited by Mark-Simulacrum
This example produced a spurious unused type alias warning: