Skip to content

Commit ccc31ce

Browse files
set compile_fail flag stable
1 parent 7e5578d commit ccc31ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustdoc/html/markdown.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,10 +909,8 @@ impl LangString {
909909
let mut seen_rust_tags = false;
910910
let mut seen_other_tags = false;
911911
let mut data = LangString::all_false();
912-
let mut allow_compile_fail = false;
913912
let mut allow_error_code_check = false;
914913
if UnstableFeatures::from_environment().is_nightly_build() {
915-
allow_compile_fail = true;
916914
allow_error_code_check = true;
917915
}
918916

@@ -936,7 +934,7 @@ impl LangString {
936934
data.test_harness = true;
937935
seen_rust_tags = !seen_other_tags || seen_rust_tags;
938936
}
939-
"compile_fail" if allow_compile_fail => {
937+
"compile_fail" => {
940938
data.compile_fail = true;
941939
seen_rust_tags = !seen_other_tags || seen_rust_tags;
942940
data.no_run = true;

0 commit comments

Comments
 (0)