about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-06-16 11:54:12 -0700
committerCamelid <camelidcamel@gmail.com>2020-06-20 11:12:43 -0700
commitb00b1a45982a9f44d3339eab2142dc5f7278f812 (patch)
tree52db81e72493e68f2c525ae8191d41a124b14972 /src/test
parente8be7971d1217312499c1258a1bb337fcdf3afa6 (diff)
downloadrust-b00b1a45982a9f44d3339eab2142dc5f7278f812.tar.gz
rust-b00b1a45982a9f44d3339eab2142dc5f7278f812.zip
Use `span_suggestion` instead of `span_label`
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/asm/duplicate-options.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/asm/duplicate-options.stderr b/src/test/ui/asm/duplicate-options.stderr
index 6339ae9db81..356e27df19e 100644
--- a/src/test/ui/asm/duplicate-options.stderr
+++ b/src/test/ui/asm/duplicate-options.stderr
@@ -2,37 +2,37 @@ error: the `nomem` option was already provided
   --> $DIR/duplicate-options.rs:7:33
    |
 LL |         asm!("", options(nomem, nomem));
-   |                                 ^^^^^ remove this option
+   |                                 ^^^^^ help: remove this option
 
 error: the `att_syntax` option was already provided
   --> $DIR/duplicate-options.rs:9:38
    |
 LL |         asm!("", options(att_syntax, att_syntax));
-   |                                      ^^^^^^^^^^ remove this option
+   |                                      ^^^^^^^^^^ help: remove this option
 
 error: the `nostack` option was already provided
   --> $DIR/duplicate-options.rs:11:56
    |
 LL |         asm!("", options(nostack, att_syntax), options(nostack));
-   |                                                        ^^^^^^^ remove this option
+   |                                                        ^^^^^^^ help: remove this option
 
 error: the `nostack` option was already provided
   --> $DIR/duplicate-options.rs:13:35
    |
 LL |         asm!("", options(nostack, nostack), options(nostack), options(nostack));
-   |                                   ^^^^^^^ remove this option
+   |                                   ^^^^^^^ help: remove this option
 
 error: the `nostack` option was already provided
   --> $DIR/duplicate-options.rs:13:53
    |
 LL |         asm!("", options(nostack, nostack), options(nostack), options(nostack));
-   |                                                     ^^^^^^^ remove this option
+   |                                                     ^^^^^^^ help: remove this option
 
 error: the `nostack` option was already provided
   --> $DIR/duplicate-options.rs:13:71
    |
 LL |         asm!("", options(nostack, nostack), options(nostack), options(nostack));
-   |                                                                       ^^^^^^^ remove this option
+   |                                                                       ^^^^^^^ help: remove this option
 
 error: aborting due to 6 previous errors