about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-03-27 23:35:02 -0400
committerJoshua Nelson <jyn514@gmail.com>2021-04-05 04:13:34 -0400
commitef4e5b9ecb10480cd87bd7875e4169ca5edeb0fd (patch)
tree7849b50f935a5dc1b7fda7b1103ca509ac63e367 /library/core/src
parent6f89468fc513eb12ef8a1137a70fab8bb9f50f14 (diff)
downloadrust-ef4e5b9ecb10480cd87bd7875e4169ca5edeb0fd.tar.gz
rust-ef4e5b9ecb10480cd87bd7875e4169ca5edeb0fd.zip
Rename non_autolinks -> bare_urls
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index 013e98a8660..760b8d8cbb0 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -298,7 +298,8 @@ pub mod primitive;
     unused_imports,
     unsafe_op_in_unsafe_fn
 )]
-#[allow(rustdoc::non_autolinks)]
+#[cfg_attr(bootstrap, allow(rustdoc::non_autolinks))]
+#[cfg_attr(not(bootstrap), allow(rustdoc::bare_urls))]
 // FIXME: This annotation should be moved into rust-lang/stdarch after clashing_extern_declarations is
 // merged. It currently cannot because bootstrap fails as the lint hasn't been defined yet.
 #[allow(clashing_extern_declarations)]