Skip to content

Commit 7dbff09

Browse files
committed
liballoc: deny warnings in doctests
1 parent 35decad commit 7dbff09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
7171
html_root_url = "https://doc.rust-lang.org/nightly/",
7272
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
73-
test(no_crate_inject))]
73+
test(no_crate_inject, attr(allow(unused_variables), deny(warnings))))]
7474
#![no_std]
7575
#![cfg_attr(not(stage0), needs_allocator)]
7676

0 commit comments

Comments
 (0)