diff options
Diffstat (limited to 'tests/ui/cfg/cfg-path-error.rs')
| -rw-r--r-- | tests/ui/cfg/cfg-path-error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/cfg/cfg-path-error.rs b/tests/ui/cfg/cfg-path-error.rs index 1e52922d079..9db1f190bdc 100644 --- a/tests/ui/cfg/cfg-path-error.rs +++ b/tests/ui/cfg/cfg-path-error.rs @@ -1,5 +1,7 @@ //@ check-fail +#![allow(unexpected_cfgs)] // invalid cfgs + #[cfg(any(foo, foo::bar))] //~^ERROR `cfg` predicate key must be an identifier fn foo1() {} |
