From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/asm/bad-arch.mirunsafeck.stderr | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/ui/asm/bad-arch.mirunsafeck.stderr (limited to 'tests/ui/asm/bad-arch.mirunsafeck.stderr') diff --git a/tests/ui/asm/bad-arch.mirunsafeck.stderr b/tests/ui/asm/bad-arch.mirunsafeck.stderr new file mode 100644 index 000000000..d7af29615 --- /dev/null +++ b/tests/ui/asm/bad-arch.mirunsafeck.stderr @@ -0,0 +1,17 @@ +error[E0472]: inline assembly is unsupported on this target + --> $DIR/bad-arch.rs:22:9 + | +LL | asm!(""); + | ^^^^^^^^ + +error[E0472]: inline assembly is unsupported on this target + --> $DIR/bad-arch.rs:27:1 + | +LL | global_asm!(""); + | ^^^^^^^^^^^^^^^ + | + = note: this error originates in the macro `global_asm` (in Nightly builds, run with -Z macro-backtrace for more info) + +error: aborting due to 2 previous errors + +For more information about this error, try `rustc --explain E0472`. -- cgit v1.2.3