summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/stmt-no-ice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/stmt-no-ice.rs')
-rw-r--r--tests/ui/check-cfg/stmt-no-ice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/check-cfg/stmt-no-ice.rs b/tests/ui/check-cfg/stmt-no-ice.rs
index cf76487ed..383e830a1 100644
--- a/tests/ui/check-cfg/stmt-no-ice.rs
+++ b/tests/ui/check-cfg/stmt-no-ice.rs
@@ -1,7 +1,7 @@
// This test checks that there is no ICE with this code
//
// check-pass
-// compile-flags:--check-cfg=names() -Z unstable-options
+// compile-flags:--check-cfg=cfg() -Z unstable-options
fn main() {
#[cfg(crossbeam_loom)]