Add feature gate test for --env
flag · rust-lang/rust@d2b1f94 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit d2b1f94
Add feature gate test for --env
flag
File tree
2 files changed
lines changed
2 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1 | +// compile-flags: --env A=B | |
2 | + | |
3 | +fn main() {} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1 | +error: the `-Z unstable-options` flag must also be passed to enable the flag `env` | |
2 | + |