diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-03-05 21:44:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-05 21:44:38 +0100 |
| commit | 8867f7f6507ad0a6682c969235fb5f0b572e646b (patch) | |
| tree | b52844c6610cd167a99c5f700e172764470b0aec /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 92861c79276cee63e53ed4c63111cd37560c458c (diff) | |
| parent | a11e87e74d3ad5f6b9f628faba85739f067108a6 (diff) | |
| download | rust-8867f7f6507ad0a6682c969235fb5f0b572e646b.tar.gz rust-8867f7f6507ad0a6682c969235fb5f0b572e646b.zip | |
Rollup merge of #82708 - GuillaumeGomez:doc-test-attr-check, r=Manishearth
Warn on `#![doc(test(...))]` on items other than the crate root and use future incompatible lint Part of #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 #82702 use this new lint as well. r? ``@jyn514``
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
