Skip to content

Commit 810d509

Browse files
committed
[DO NOT MERGE] what if we don't allow unused filecheck prefixes?
1 parent 23032f3 commit 810d509

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,11 +1970,6 @@ impl<'test> TestCx<'test> {
19701970
filecheck.arg("--check-prefix").arg(rev);
19711971
}
19721972

1973-
// HACK: the filecheck tool normally fails if a prefix is defined but not used. However,
1974-
// sometimes revisions are used to specify *compiletest* directives which are not FileCheck
1975-
// concerns.
1976-
filecheck.arg("--allow-unused-prefixes");
1977-
19781973
// Provide more context on failures.
19791974
filecheck.args(&["--dump-input-context", "100"]);
19801975

0 commit comments

Comments
 (0)