Skip to content

Commit 909f22b

Browse files
committed
Rename non_autolinks -> bare_urls
1 parent dcf5f2a commit 909f22b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ pub mod primitive;
298298
unused_imports,
299299
unsafe_op_in_unsafe_fn
300300
)]
301-
#[allow(rustdoc::non_autolinks)]
301+
#[cfg_attr(bootstrap, allow(rustdoc::non_autolinks))]
302+
#[cfg_attr(not(bootstrap), allow(rustdoc::bare_urls))]
302303
// FIXME: This annotation should be moved into rust-lang/stdarch after clashing_extern_declarations is
303304
// merged. It currently cannot because bootstrap fails as the lint hasn't been defined yet.
304305
#[allow(clashing_extern_declarations)]

0 commit comments

Comments
 (0)