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 upNightly regression: lifetime error with autoderef #28854
Comments
eefriedman
referenced this issue
Oct 6, 2015
Closed
#28669 caused regression compiling pinyin crate on nightly #28853
This comment has been minimized.
This comment has been minimized.
|
triage: I-nominated Tagging as T-compiler, but may also be T-lang (not sure). This compiles ok on stable/beta and fails to compile on nightly. |
rust-highfive
added
the
I-nominated
label
Oct 6, 2015
alexcrichton
added
the
T-compiler
label
Oct 6, 2015
sfackler
added
the
regression-from-stable-to-nightly
label
Oct 6, 2015
This comment has been minimized.
This comment has been minimized.
|
This and #28853 are the same issue. The extraneous address-of operation (to As one of the |
This comment has been minimized.
This comment has been minimized.
|
This problem is easily fixed by removing the extraneous @aturon: I think it is cases like this that led to the removal of |
This comment has been minimized.
This comment has been minimized.
|
Oh... I see, this is kind of awkward: the signature is asserting that This particular case is actually safe because |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
nikomatsakis
self-assigned this
Oct 15, 2015
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
rust-highfive
added
P-high
and removed
I-nominated
labels
Oct 15, 2015
This comment has been minimized.
This comment has been minimized.
|
Closing in favor of #28853 |
eefriedman commentedOct 6, 2015
Testcase:
It looks rather similar to #28839, but I'm not sure whether it's the same thing. Originally reported by @jonas-schievink (#28853 (comment)) .