Add feature gate test for --env
flag
This commit is contained in:
parent
37d68093da
commit
d2b1f94f05
3
tests/ui/feature-gates/env-flag.rs
Normal file
3
tests/ui/feature-gates/env-flag.rs
Normal file
@ -0,0 +1,3 @@
|
||||
// compile-flags: --env A=B
|
||||
|
||||
fn main() {}
|
2
tests/ui/feature-gates/env-flag.stderr
Normal file
2
tests/ui/feature-gates/env-flag.stderr
Normal file
@ -0,0 +1,2 @@
|
||||
error: the `-Z unstable-options` flag must also be passed to enable the flag `env`
|
||||
|
Loading…
Reference in New Issue
Block a user