diff options
| author | bors <bors@rust-lang.org> | 2023-08-20 01:04:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-20 01:04:22 +0000 |
| commit | 9c699a40cc2680b876c32ee69b402ee34bf7989a (patch) | |
| tree | d9edb8f1c899d867eb03a8f9271518b8d40cbd27 /library/std/src | |
| parent | f32ced648191cc67efdf6001585687ad22ed00d2 (diff) | |
| parent | 297ff8c97ef7b34e620e8f016361227f0be79a7c (diff) | |
| download | rust-9c699a40cc2680b876c32ee69b402ee34bf7989a.tar.gz rust-9c699a40cc2680b876c32ee69b402ee34bf7989a.zip | |
Auto merge of #113167 - ChAoSUnItY:redundant_explicit_link, r=GuillaumeGomez
rustdoc: Add lint `redundant_explicit_links` Closes #87799. - Lint warns by default - Reworks link parser to cache original link's display text r? `@jyn514`
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index ac4ce222fba..58684ffe500 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -223,6 +223,7 @@ #![cfg_attr(not(bootstrap), allow(internal_features))] #![deny(rustc::existing_doc_keyword)] #![deny(fuzzy_provenance_casts)] +#![cfg_attr(not(bootstrap), allow(rustdoc::redundant_explicit_links))] // Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind` #![deny(ffi_unwind_calls)] // std may use features in a platform-specific way |
