rust/tests/ui/asm/naked-asm-outside-naked-fn.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
635 B
Text
Raw Normal View History

2025-03-29 17:30:11 +01:00
error: the `naked_asm!` macro can only be used in functions marked with `#[unsafe(naked)]`
2024-12-18 22:05:27 +01:00
--> $DIR/naked-asm-outside-naked-fn.rs:20:5
|
2025-03-29 17:30:11 +01:00
LL | naked_asm!("")
| ^^^^^^^^^^^^^^
2025-03-29 17:30:11 +01:00
error: the `naked_asm!` macro can only be used in functions marked with `#[unsafe(naked)]`
2024-12-18 22:05:27 +01:00
--> $DIR/naked-asm-outside-naked-fn.rs:25:9
|
2025-03-29 17:30:11 +01:00
LL | (|| naked_asm!(""))()
| ^^^^^^^^^^^^^^
2025-03-29 17:30:11 +01:00
error: the `naked_asm!` macro can only be used in functions marked with `#[unsafe(naked)]`
2024-12-18 22:05:27 +01:00
--> $DIR/naked-asm-outside-naked-fn.rs:31:9
|
2025-03-29 17:30:11 +01:00
LL | naked_asm!("");
| ^^^^^^^^^^^^^^
error: aborting due to 3 previous errors