You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… 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`
… 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``
Discussed in #82662 (comment)
The text was updated successfully, but these errors were encountered: