2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: cannot use `#[naked]` with testing attributes
|
2024-07-16 17:03:33 -05:00
|
|
|
--> $DIR/naked-functions-testattrs.rs:12:1
|
|
|
|
|
|
|
|
|
LL | #[test]
|
|
|
|
| ------- function marked with testing attribute here
|
|
|
|
LL | #[naked]
|
|
|
|
| ^^^^^^^^ `#[naked]` is incompatible with testing attributes
|
|
|
|
|
2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: cannot use `#[naked]` with testing attributes
|
2024-07-16 17:03:33 -05:00
|
|
|
--> $DIR/naked-functions-testattrs.rs:20:1
|
|
|
|
|
|
|
|
|
LL | #[test]
|
|
|
|
| ------- function marked with testing attribute here
|
|
|
|
LL | #[naked]
|
|
|
|
| ^^^^^^^^ `#[naked]` is incompatible with testing attributes
|
|
|
|
|
2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: cannot use `#[naked]` with testing attributes
|
2024-07-16 17:03:33 -05:00
|
|
|
--> $DIR/naked-functions-testattrs.rs:28:1
|
|
|
|
|
|
|
|
|
LL | #[test]
|
|
|
|
| ------- function marked with testing attribute here
|
|
|
|
LL | #[naked]
|
|
|
|
| ^^^^^^^^ `#[naked]` is incompatible with testing attributes
|
|
|
|
|
2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: cannot use `#[naked]` with testing attributes
|
2024-07-16 17:03:33 -05:00
|
|
|
--> $DIR/naked-functions-testattrs.rs:35:1
|
|
|
|
|
|
|
|
|
LL | #[bench]
|
|
|
|
| -------- function marked with testing attribute here
|
|
|
|
LL | #[naked]
|
|
|
|
| ^^^^^^^^ `#[naked]` is incompatible with testing attributes
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
2024-07-17 03:42:24 -05:00
|
|
|
For more information about this error, try `rustc --explain E0736`.
|