diff options
Diffstat (limited to 'tests/ui/cfg/nested-cfg-attr-conditional-compilation.stderr')
| -rw-r--r-- | tests/ui/cfg/nested-cfg-attr-conditional-compilation.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/cfg/nested-cfg-attr-conditional-compilation.stderr b/tests/ui/cfg/nested-cfg-attr-conditional-compilation.stderr index ddb8ea1e13a..44a33adbc47 100644 --- a/tests/ui/cfg/nested-cfg-attr-conditional-compilation.stderr +++ b/tests/ui/cfg/nested-cfg-attr-conditional-compilation.stderr @@ -3,6 +3,17 @@ error[E0425]: cannot find function `f` in this scope | LL | f() | ^ not found in this scope + | +note: found an item that was configured out + --> $DIR/nested-cfg-attr-conditional-compilation.rs:14:4 + | +LL | fn f() {} + | ^ +note: the item is gated here + --> $DIR/nested-cfg-attr-conditional-compilation.rs:13:39 + | +LL | #[cfg_attr(all(), cfg_attr(all(), cfg(false)))] + | ^^^^^ error: aborting due to 1 previous error |
