Warn on rustdoc::unescaped_backticks
for `core/alloc/std/test/proc_… · rust-lang/rust@c77d2ca (original) (raw)
5 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -86,6 +86,7 @@ | ||
86 | 86 | #![warn(multiple_supertrait_upcastable)] |
87 | 87 | #![allow(internal_features)] |
88 | 88 | #![allow(rustdoc::redundant_explicit_links)] |
89 | +#![warn(rustdoc::unescaped_backticks)] | |
89 | 90 | #![deny(ffi_unwind_calls)] |
90 | 91 | // |
91 | 92 | // Library features: |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -103,6 +103,7 @@ | ||
103 | 103 | #![deny(ffi_unwind_calls)] |
104 | 104 | // Do not check link redundancy on bootstraping phase |
105 | 105 | #![allow(rustdoc::redundant_explicit_links)] |
106 | +#![warn(rustdoc::unescaped_backticks)] | |
106 | 107 | // |
107 | 108 | // Library features: |
108 | 109 | // tidy-alphabetical-start |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -37,6 +37,7 @@ | ||
37 | 37 | #![recursion_limit = "256"] |
38 | 38 | #![allow(internal_features)] |
39 | 39 | #![deny(ffi_unwind_calls)] |
40 | +#![warn(rustdoc::unescaped_backticks)] | |
40 | 41 | |
41 | 42 | #[unstable(feature = "proc_macro_internals", issue = "27812")] |
42 | 43 | #[doc(hidden)] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -254,6 +254,7 @@ | ||
254 | 254 | #![deny(fuzzy_provenance_casts)] |
255 | 255 | #![deny(unsafe_op_in_unsafe_fn)] |
256 | 256 | #![allow(rustdoc::redundant_explicit_links)] |
257 | +#![warn(rustdoc::unescaped_backticks)] | |
257 | 258 | // Ensure that std can be linked against panic_abort despite compiled with `-C panic=unwind` |
258 | 259 | #![deny(ffi_unwind_calls)] |
259 | 260 | // std may use features in a platform-specific way |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -24,6 +24,7 @@ | ||
24 | 24 | #![feature(panic_can_unwind)] |
25 | 25 | #![feature(test)] |
26 | 26 | #![allow(internal_features)] |
27 | +#![warn(rustdoc::unescaped_backticks)] | |
27 | 28 | |
28 | 29 | pub use self::bench::{black_box, Bencher}; |
29 | 30 | pub use self::console::run_tests_console; |