about summary refs log tree commit diff
path: root/library/alloc/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/alloc/src
parentd73decdaadbc6cc0ca95ab66e3d1d17d4f3bb062 (diff)
parentdc815df1e1dc8c37956e41274c3276d053c271da (diff)
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/alloc/src')
-rw-r--r--library/alloc/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 3b039786eb5..6c585946050 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -86,6 +86,7 @@
 #![warn(multiple_supertrait_upcastable)]
 #![allow(internal_features)]
 #![allow(rustdoc::redundant_explicit_links)]
+#![warn(rustdoc::unescaped_backticks)]
 #![deny(ffi_unwind_calls)]
 //
 // Library features: