]> git.proxmox.com Git - rustc.git/blob - tests/ui/check-cfg/invalid-arguments.rs
New upstream version 1.68.2+dfsg1
[rustc.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() {}