2022-02-19 13:31:20 +00:00
|
|
|
//@ check-pass
|
2024-02-25 13:56:14 +00:00
|
|
|
//@ compile-flags: --check-cfg=cfg()
|
2022-02-19 13:31:20 +00:00
|
|
|
|
|
|
|
/// uniz is nor a builtin nor pass as arguments so is unexpected
|
|
|
|
#[cfg(uniz)]
|
|
|
|
//~^ WARNING unexpected `cfg` condition name
|
|
|
|
pub struct Bar;
|