about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-29 11:42:35 +0200
committerGitHub <noreply@github.com>2024-07-29 11:42:35 +0200
commit8f7af88b33771ab5ec92a2a767a97a068f2ea17b (patch)
tree0d0cf8ae3c4dc44c69f9ac6051b224b89d7d92a6 /library/std/src
parentd73decdaadbc6cc0ca95ab66e3d1d17d4f3bb062 (diff)
parentdc815df1e1dc8c37956e41274c3276d053c271da (diff)
downloadrust-8f7af88b33771ab5ec92a2a767a97a068f2ea17b.tar.gz
rust-8f7af88b33771ab5ec92a2a767a97a068f2ea17b.zip
Rollup merge of #128307 - ojeda:unescaped_backticks, r=GuillaumeGomez
Clean and enable `rustdoc::unescaped_backticks` for `core/alloc/std/test/proc_macro`

I am not sure if the lint is supposed to be "ready enough" (since it is `allow` by default), but it does catch a couple issues in `core` (`alloc`, `std`, `test` and `proc_macro` are already clean), so I propose making it `warn` in all the crates rendered in the website.

Cc: `@GuillaumeGomez`
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 6dc74728dfd..ee6f5a6f3c0 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -254,6 +254,7 @@
 #![deny(fuzzy_provenance_casts)]
 #![deny(unsafe_op_in_unsafe_fn)]
 #![allow(rustdoc::redundant_explicit_links)]
+#![warn(rustdoc::unescaped_backticks)]
 // 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