diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 0e2da2b02ca0f..4c9a0a65b191f 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -1970,11 +1970,6 @@ impl<'test> TestCx<'test> { filecheck.arg("--check-prefix").arg(rev); } - // HACK: the filecheck tool normally fails if a prefix is defined but not used. However, - // sometimes revisions are used to specify *compiletest* directives which are not FileCheck - // concerns. - filecheck.arg("--allow-unused-prefixes"); - // Provide more context on failures. filecheck.args(&["--dump-input-context", "100"]);