Skip to content

Commit d4559c0

Browse files
committed
Auto merge of #117819 - fmease:rustc_parse_format-stable-rustc, r=Nilstrieb
Make `rustc_parse_format` compile on stable again Fixes [#115948 (review comment)](https://github.com/rust-lang/rust/pull/115948/files/822233559619e7e77d984f9020d05302b784cf50#r1385932710). cc `@Veykril` `@notriddle` r? compiler
2 parents 1500db7 + 732b4bb commit d4559c0

File tree

1 file changed

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

1 file changed

+2
-5
lines changed

Diff for: 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)