about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2021-05-13 23:09:54 +0100
committerAmanieu d'Antras <amanieu@gmail.com>2021-05-13 23:09:54 +0100
commita7ed6a5196996f00dd78a391a44af51ee8088058 (patch)
tree0e1a7481cbc936524976f0fc657b1550449a7bc2
parentd9cf2ce28f30674c83fa62ca19a49ad87e39c413 (diff)
downloadrust-a7ed6a5196996f00dd78a391a44af51ee8088058.tar.gz
rust-a7ed6a5196996f00dd78a391a44af51ee8088058.zip
Fix tests
-rw-r--r--src/test/ui/asm/bad-arch.stderr2
-rw-r--r--src/test/ui/asm/parse-error.stderr4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/asm/bad-arch.stderr b/src/test/ui/asm/bad-arch.stderr
index 3ca5bcc707e..6094643b038 100644
--- a/src/test/ui/asm/bad-arch.stderr
+++ b/src/test/ui/asm/bad-arch.stderr
@@ -10,7 +10,7 @@ error[E0472]: inline assembly is unsupported on this target
 LL | global_asm!("");
    | ^^^^^^^^^^^^^^^^
    |
-   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+   = 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
 
diff --git a/src/test/ui/asm/parse-error.stderr b/src/test/ui/asm/parse-error.stderr
index 1877604a235..afd262b851c 100644
--- a/src/test/ui/asm/parse-error.stderr
+++ b/src/test/ui/asm/parse-error.stderr
@@ -260,7 +260,7 @@ error: asm template must be a string literal
 LL | global_asm!(format!("{{{}}}", 0), const FOO);
    |             ^^^^^^^^^^^^^^^^^^^^
    |
-   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+   = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: asm template must be a string literal
   --> $DIR/parse-error.rs:98:20
@@ -268,7 +268,7 @@ error: asm template must be a string literal
 LL | global_asm!("{1}", format!("{{{}}}", 0), const FOO, const BAR);
    |                    ^^^^^^^^^^^^^^^^^^^^
    |
-   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
+   = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error[E0435]: attempt to use a non-constant value in a constant
   --> $DIR/parse-error.rs:37:37