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 upMismatched signature in trait implementation with lifetimes not caught #27083
Comments
alexcrichton
added
I-nominated
T-lang
labels
Jul 17, 2015
This comment has been minimized.
This comment has been minimized.
|
Could you extend it into a real unsoundness? I don't think this is a real problem: the trait type is |
This comment has been minimized.
This comment has been minimized.
|
I'm not sure anything's unsound here; I found this pattern in Servo and was surprised that it built at all, given the different signatures. |
This comment has been minimized.
This comment has been minimized.
|
I'll close this then. |
Ms2ger commentedJul 17, 2015
I think this shouldn't compile, but it does (in rustc 1.3.0-dev (fddfd08 2015-07-10)):