]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/conditional-compilation/cfg-attr-empty-is-unused.stderr
Rollup merge of #91950 - estebank:point-at-type-of-non-allocator, r=matthewjasper
[rust.git] / src / test / ui / conditional-compilation / cfg-attr-empty-is-unused.stderr
index 67cb6530e3831c7a2989b645457bbb9b0020e958..87b698813535316083490814c57c0268443f7735 100644 (file)
@@ -1,4 +1,4 @@
-error: unused attribute
+error: `#[cfg_attr]` does not expand to any attributes
   --> $DIR/cfg-attr-empty-is-unused.rs:7:1
    |
 LL | #[cfg_attr(FALSE,)]
@@ -11,7 +11,7 @@ LL | #![deny(unused)]
    |         ^^^^^^
    = note: `#[deny(unused_attributes)]` implied by `#[deny(unused)]`
 
-error: unused attribute
+error: `#[cfg_attr]` does not expand to any attributes
   --> $DIR/cfg-attr-empty-is-unused.rs:10:1
    |
 LL | #[cfg_attr(TRUE,)]