|
| 1 | +error: unsafe attribute used without unsafe |
| 2 | + --> $DIR/unsafe-attributes-from-pm-in-2024.rs:6:1 |
| 3 | + | |
| 4 | +LL | unsafe_attributes_pm_in_2024::missing_unsafe!(); |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute |
| 6 | + | |
| 7 | + = note: this error originates in the macro `unsafe_attributes_pm_in_2024::missing_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 8 | + |
| 9 | +error: unsafe attribute used without unsafe |
| 10 | + --> $DIR/unsafe-attributes-from-pm-in-2024.rs:8:1 |
| 11 | + | |
| 12 | +LL | #[unsafe_attributes_pm_in_2024::attr_missing_unsafe] |
| 13 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute |
| 14 | + | |
| 15 | + = note: this error originates in the attribute macro `unsafe_attributes_pm_in_2024::attr_missing_unsafe` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 16 | + |
| 17 | +error: unsafe attribute used without unsafe |
| 18 | + --> $DIR/unsafe-attributes-from-pm-in-2024.rs:11:10 |
| 19 | + | |
| 20 | +LL | #[derive(unsafe_attributes_pm_in_2024::AttrMissingUnsafe)] |
| 21 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute |
| 22 | + | |
| 23 | + = note: this error originates in the derive macro `unsafe_attributes_pm_in_2024::AttrMissingUnsafe` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 24 | + |
| 25 | +error: unsafe attribute used without unsafe |
| 26 | + --> $DIR/unsafe-attributes-from-pm-in-2024.rs:14:1 |
| 27 | + | |
| 28 | +LL | unsafe_attributes_pm_in_2024::macro_rules_missing_unsafe!(); |
| 29 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute |
| 30 | +LL | |
| 31 | +LL | make_fn!(); |
| 32 | + | ---------- in this macro invocation |
| 33 | + | |
| 34 | + = note: this error originates in the macro `make_fn` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 35 | + |
| 36 | +error: aborting due to 4 previous errors |
| 37 | + |
0 commit comments