Skip to content

Commit 732b4bb

Browse files
committed
Make rustc_parse_format compile on stable again
1 parent 9ab0749 commit 732b4bb

File tree

1 file changed

+2
-5
lines changed
  • compiler/rustc_parse_format/src

1 file changed

+2
-5
lines changed

compiler/rustc_parse_format/src/lib.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@
99
html_playground_url = "https://play.rust-lang.org/",
1010
test(attr(deny(warnings)))
1111
)]
12-
#![cfg_attr(not(bootstrap), doc(rust_logo))]
13-
#![cfg_attr(not(bootstrap), allow(internal_features))]
14-
#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
1512
#![deny(rustc::untranslatable_diagnostic)]
1613
#![deny(rustc::diagnostic_outside_of_impl)]
17-
// We want to be able to build this crate with a stable compiler, so no
18-
// `#![feature]` attributes should be added.
14+
// WARNING: We want to be able to build this crate with a stable compiler,
15+
// so no `#![feature]` attributes should be added!
1916

2017
use rustc_lexer::unescape;
2118
pub use Alignment::*;

0 commit comments

Comments
 (0)