Uh oh!
There was an error while loading. Please reload this page.
in which we decline to lint single-use lifetimes in derived impls - #61824
Conversation
zackmdavis
commented
Jun 14, 2019
(Pushing the branch directly to rust-lang/rust rather than my "fork" was a mistake, but probably an inconsequential one?) |
rust-highfive
commented
Jun 14, 2019
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 |
Centril
commented
Jun 14, 2019
Yep; we have branch protection on the important branches; please just cleanup after you're done. 😃 |
Centril
commented
Jun 14, 2019
@scottmcm suggested on Discord that we should change the macro expansion of the built-in derives to use |
zackmdavis
commented
Jun 14, 2019
(fixed tidy) |
petrochenkov
commented
Jun 14, 2019
Derives are a special case of "macros from other crates", which normally suppress lints. |
oli-obk
commented
Jun 14, 2019
The problem is (as explained by @estebank) that the derive doesn't mark the spans of idents it's using as coming from an expansion. |
eddyb
commented
Jun 14, 2019
@bors r+ (feel free to open an issue about changing the deriving output) |
bors
commented
Jun 14, 2019
📌 Commit 17653dd has been approved by |
bors
commented
Jun 14, 2019
🌲 The tree is currently closed for pull requests below priority 500, this pull request will be tested once the tree is reopened |
in which we decline to lint single-use lifetimes in `derive`d impls Resolvesrust-lang#53738. r? @eddyb
in which we decline to lint single-use lifetimes in `derive`d impls Resolvesrust-lang#53738. r? @eddyb
in which we decline to lint single-use lifetimes in `derive`d impls Resolvesrust-lang#53738. r? @eddyb
in which we decline to lint single-use lifetimes in `derive`d impls Resolvesrust-lang#53738. r? @eddyb
Rollup of 6 pull requests Successful merges: - #61785 (note some safety concerns of raw-ptr-to-ref casts) - #61805 (typeck: Fix ICE for blocks in repeat expr count.) - #61813 (Remove some unnecessary symbol interner ops) - #61824 (in which we decline to lint single-use lifetimes in `derive`d impls) - #61844 (Change `...` to `..=` where applicable) - #61854 (Minor cosmetic improvements to accompany PR 61825) Failed merges: r? @ghost
Resolves#53738.
r? @eddyb