Improve the explicit_outlives_requirements lint #61172
Improve the explicit_outlives_requirements lint #61172bors merged 4 commits intorust-lang:masterfrom
Conversation
1b7fd3a to
e2e7809
Compare
This comment has been minimized.
This comment has been minimized.
e2e7809 to
9e0d1c7
Compare
|
r? @varkor |
varkor
left a comment
There was a problem hiding this comment.
Looks good! r=me with nits fixed.
9e0d1c7 to
3ba720c
Compare
|
@bors r=varkor |
|
📌 Commit 7a0db474769697b0f20bc6ace65bb48fbc421bfb has been approved by |
|
⌛ Testing commit 7a0db474769697b0f20bc6ace65bb48fbc421bfb with merge 7a0019311d0fdb9ce6f823189af1ca64b38ab4db... |
|
💔 Test failed - checks-travis |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
This comment has been minimized.
This comment has been minimized.
…s, r=alexcrichton Remove unnecessary outlives bounds cc rust-lang/rust#61172
7a0db47 to
783ac37
Compare
Also give them a span in the HIR
* Don't use Strings to compare parameters * Extend the lint to lifetime bounds * Extend the lint to enums and unions * Use the correct span for where clauses in tuple structs * Try to early-out where possible
783ac37 to
fdeb581
Compare
|
@bors r=varkor |
|
📌 Commit fdeb581 has been approved by |
|
⌛ Testing commit fdeb581 with merge f30160a6afbbf2e575aeb27f8a6ebecb6534f844... |
|
@bors retry yielding to r0llup |
|
@bors p=2 rollup=never |
…arkor Improve the explicit_outlives_requirements lint * Don't use Strings to compare parameters * Extend the lint to lifetime bounds * Extend the lint to enums and unions * Use the correct span for where clauses in tuple structs * Try to early-out where possible * Remove unnecessary bounds in rustc crates
|
☀️ Test successful - checks-travis, status-appveyor |
Fix warnings about unnecessary lifetime bounds Rustup rust-lang/rust#61172 changelog: none
Uh oh!
There was an error while loading. Please reload this page.