We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e5578d commit ccc31ceCopy full SHA for ccc31ce
src/librustdoc/html/markdown.rs
@@ -909,10 +909,8 @@ impl LangString {
909
let mut seen_rust_tags = false;
910
let mut seen_other_tags = false;
911
let mut data = LangString::all_false();
912
- let mut allow_compile_fail = false;
913
let mut allow_error_code_check = false;
914
if UnstableFeatures::from_environment().is_nightly_build() {
915
- allow_compile_fail = true;
916
allow_error_code_check = true;
917
}
918
@@ -936,7 +934,7 @@ impl LangString {
936
934
data.test_harness = true;
937
935
seen_rust_tags = !seen_other_tags || seen_rust_tags;
938
939
- "compile_fail" if allow_compile_fail => {
+ "compile_fail" => {
940
data.compile_fail = true;
941
942
data.no_run = true;
0 commit comments