-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Err codes #35920
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Err codes #35920
Conversation
@bors r+ |
📌 Commit 9747fa4 has been approved by |
…ndturner Err codes r? @jonathandturner
…ndturner Err codes r? @jonathandturner
Erroneous code example: | ||
|
||
// Check that the explicit lifetime bound (`'b`, in this example) must | ||
// outlive all the superbound from the trait (`'a`, in this example). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They aren't named 'b
and 'a
though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also "superbounds"
@bors r- @GuillaumeGomez - will let you work on @jonas-schievink's comments |
trait Wedding<'t>: 't { } | ||
|
||
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'b must live | ||
// longer than 'a. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too
9747fa4
to
5c5f483
Compare
Updated. |
@bors r+ |
📌 Commit 5c5f483 has been approved by |
@bors rollup |
1 similar comment
@bors rollup |
…ndturner Err codes r? @jonathandturner
r? @jonathandturner