]> git.lizzy.rs Git - rust.git/blob - tests/ui/check-cfg/invalid-arguments.rs
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / ui / check-cfg / invalid-arguments.rs
1 // Check that invalid --check-cfg are rejected
2 //
3 // check-fail
4 // revisions: anything_else names_simple_ident values_simple_ident values_string_literals
5 // [anything_else]compile-flags: -Z unstable-options --check-cfg=anything_else(...)
6 // [names_simple_ident]compile-flags: -Z unstable-options --check-cfg=names("NOT_IDENT")
7 // [values_simple_ident]compile-flags: -Z unstable-options --check-cfg=values("NOT_IDENT")
8 // [values_string_literals]compile-flags: -Z unstable-options --check-cfg=values(test,12)
9
10 fn main() {}