Skip to content

Commit a7ed6a5

Browse files
committed
Fix tests
1 parent d9cf2ce commit a7ed6a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/ui/asm/bad-arch.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ error[E0472]: inline assembly is unsupported on this target
1010
LL | global_asm!("");
1111
| ^^^^^^^^^^^^^^^^
1212
|
13-
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
13+
= note: this error originates in the macro `global_asm` (in Nightly builds, run with -Z macro-backtrace for more info)
1414

1515
error: aborting due to 2 previous errors
1616

src/test/ui/asm/parse-error.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,15 @@ error: asm template must be a string literal
260260
LL | global_asm!(format!("{{{}}}", 0), const FOO);
261261
| ^^^^^^^^^^^^^^^^^^^^
262262
|
263-
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
263+
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
264264

265265
error: asm template must be a string literal
266266
--> $DIR/parse-error.rs:98:20
267267
|
268268
LL | global_asm!("{1}", format!("{{{}}}", 0), const FOO, const BAR);
269269
| ^^^^^^^^^^^^^^^^^^^^
270270
|
271-
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
271+
= note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
272272

273273
error[E0435]: attempt to use a non-constant value in a constant
274274
--> $DIR/parse-error.rs:37:37

0 commit comments

Comments
 (0)