aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/cfg/packed_sneaky.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/cfg/packed_sneaky.rs')
-rw-r--r--tests/ui/cfg/packed_sneaky.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/cfg/packed_sneaky.rs b/tests/ui/cfg/packed_sneaky.rs
index 3305ed3..0b01dc9 100644
--- a/tests/ui/cfg/packed_sneaky.rs
+++ b/tests/ui/cfg/packed_sneaky.rs
@@ -1,12 +1,12 @@
-use auxiliary_macros::hidden_repr_cfg_not_any;
+use auxiliary_macro::hidden_repr_cfg_not_any;
use pin_project::pin_project;
// `#[hidden_repr_cfg_not_any(packed)]` generates `#[cfg_attr(not(any()), repr(packed))]`.
#[pin_project]
#[hidden_repr_cfg_not_any(packed)] //~ ERROR may not be used on #[repr(packed)] types
-struct Foo {
+struct S {
#[pin]
- field: u32,
+ f: u32,
}
fn main() {}