summaryrefslogtreecommitdiffstats
path: root/tests/ui/check-cfg/diagnotics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/check-cfg/diagnotics.rs')
-rw-r--r--tests/ui/check-cfg/diagnotics.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/check-cfg/diagnotics.rs b/tests/ui/check-cfg/diagnotics.rs
index 45875bddc..33073f05f 100644
--- a/tests/ui/check-cfg/diagnotics.rs
+++ b/tests/ui/check-cfg/diagnotics.rs
@@ -1,4 +1,7 @@
// check-pass
+// revisions: cargo rustc
+// [rustc]unset-rustc-env:CARGO
+// [cargo]rustc-env:CARGO=/usr/bin/cargo
// compile-flags: --check-cfg=cfg(feature,values("foo")) --check-cfg=cfg(no_values) -Z unstable-options
#[cfg(featur)]