summaryrefslogtreecommitdiffstats
path: root/tests/ui/conditional-compilation/cfg-empty-codemap.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/conditional-compilation/cfg-empty-codemap.rs')
-rw-r--r--tests/ui/conditional-compilation/cfg-empty-codemap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/conditional-compilation/cfg-empty-codemap.rs b/tests/ui/conditional-compilation/cfg-empty-codemap.rs
index 9e34cacf7..c7aded733 100644
--- a/tests/ui/conditional-compilation/cfg-empty-codemap.rs
+++ b/tests/ui/conditional-compilation/cfg-empty-codemap.rs
@@ -1,6 +1,6 @@
// Tests that empty source_maps don't ICE (#23301)
-// compile-flags: --cfg ""
+// compile-flags: --error-format=human --cfg ""
// error-pattern: invalid `--cfg` argument: `""` (expected `key` or `key="value"`)