Uh oh!
There was an error while loading. Please reload this page.
Remove doc(include) - #85457
Conversation
rust-highfive
commented
May 19, 2021
Some changes occurred in src/tools/clippy. cc @rust-lang/clippy |
rust-highfive
commented
May 19, 2021
r? @estebank (rust-highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
FYI @rust-lang/clippy you should probably be using rustc_lint::builtin::has_doc instead; this has a false positive and also counts things like #[path = "x"] as doc-comments (because you only check value_str().is_some(), not the name of the attribute). Also in general it seems nice to have all the logic in one place.
There was a problem hiding this comment.
Looks like a nice cleanup opportunity on the Clippy side! has_doc would just have to be made public
There was a problem hiding this comment.
Sure thing, you could do both at the same time in a PR to rust-lang/rust :)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
7f2812e to
19b8603Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
GuillaumeGomez
commented
May 19, 2021
This is a nightly feature, so I'd say that the FCP is unneeded here. |
jyn514
commented
May 19, 2021
@GuillaumeGomez do you mind reviewing the rustdoc changes? They should be pretty simple since it's just deleted code. Oh, I need to add a diagnostic test for suggesting |
GuillaumeGomez
commented
May 19, 2021
Not sure this is needed though. But as you prefer. Ping me once you want me to review. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
11c6f97 to
2a68d67Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
jyn514
commented
Jun 4, 2021
@GuillaumeGomez this is ready for a second round of review |
GuillaumeGomez
commented
Jun 4, 2021
Thanks for this! This was a long awaited removal. :) @bors: r+ |
bors
commented
Jun 4, 2021
📌 Commit 15fec1f has been approved by |
bors
commented
Jun 5, 2021
bors
commented
Jun 5, 2021
☀️ Test successful - checks-actions |
doc(include) was removed in rust-lang/rust#85457. Tests should now run on on both nightly and stable.
doc(include) was removed in rust-lang/rust#85457. Tests should now run on on both nightly and stable. (cherry picked from commit d96bfa2)
doc(include) was removed in rust-lang/rust#85457. Tests should now run on on both nightly and stable.
Move resolve_path to rustc_builtin_macros and make it private Fixing a FIXME introduced by `@jyn514` in rust-lang#85457
This nightly feature is redundant now that
extended_key_value_attributesis stable (#83366). @rust-lang/rustdoc not sure if you think this needs FCP; there was already an FCP in #82539, but technically it was for deprecating, not removing the feature altogether.This should not be merged before #83366.
cc @petrochenkov