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 up"Explicit lifetime bound required" message should give suggestions #16948
Comments
nikomatsakis
added
the
I-nominated
label
Sep 2, 2014
brson
added
P-high
and removed
I-nominated
labels
Sep 4, 2014
This comment has been minimized.
This comment has been minimized.
|
cc #16874 |
This comment has been minimized.
This comment has been minimized.
|
"trait object requires explicit lifetime bound" would be less confusing (when it occurs on a trait) - I've seen many cases where a trait was accidentally used instead of a regular type and there was no obvious hint as to why a lifetime bound would be required at all. |
This comment has been minimized.
This comment has been minimized.
|
It seems that the span for one of these errors has gotten better:
The Discuss thread is difficult because there aren't a lot of contained examples, and we don't have an extended error explanation for this message, nor any tests that I can find?
|
This comment has been minimized.
This comment has been minimized.
|
Close. Old and unloved. |
brson
closed this
Aug 4, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nikomatsakis commentedSep 2, 2014
See comments on discuss:
Nominating for P-high, not 1.0.