Change error about unknown attributes to a warning by jyn514 · Pull Request #82702 · rust-lang/rust
added
T-rustdoc
labels
Mar 2, 2021
jyn514
added
S-waiting-on-author
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.labels
Mar 2, 2021This prevents breakage across the ecosystem, since the error was just introduced recently without first having a warning period.
jyn514
changed the title
[WIP] Change error about unknown attributes to a warning
Change error about unknown attributes to a warning
jyn514
added
S-waiting-on-review
and removed S-waiting-on-author
Status: This is awaiting some action (such as code changes or more information) from the author.labels
Mar 3, 2021
bors
added
S-waiting-on-bors
and removed S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.labels
Mar 3, 2021
jyn514
deleted the
downgrade-err
branch
This was referenced
Mar 4, 2021GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request
Mar 5, 2021… r=Manishearth Warn on `#![doc(test(...))]` on items other than the crate root and use future incompatible lint Part of rust-lang#82672. This PR does multiple things: * Create a new `INVALID_DOC_ATTRIBUTE` lint which is also "future incompatible", allowing us to use it as a warning for the moment until it turns (eventually) into a hard error. * Use this link when `#![doc(test(...))]` isn't used at the crate level. * Make rust-lang#82702 use this new lint as well. r? `@jyn514`
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request
Mar 5, 2021… r=Manishearth Warn on `#![doc(test(...))]` on items other than the crate root and use future incompatible lint Part of rust-lang#82672. This PR does multiple things: * Create a new `INVALID_DOC_ATTRIBUTE` lint which is also "future incompatible", allowing us to use it as a warning for the moment until it turns (eventually) into a hard error. * Use this link when `#![doc(test(...))]` isn't used at the crate level. * Make rust-lang#82702 use this new lint as well. r? ``@jyn514``
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters