about summary refs log tree commit diff
path: root/tests/ui/span
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/span')
-rw-r--r--tests/ui/span/E0539.rs (renamed from tests/ui/span/E0535.rs)0
-rw-r--r--tests/ui/span/E0539.stderr (renamed from tests/ui/span/E0535.stderr)11
2 files changed, 4 insertions, 7 deletions
diff --git a/tests/ui/span/E0535.rs b/tests/ui/span/E0539.rs
index e0c6dbfc591..e0c6dbfc591 100644
--- a/tests/ui/span/E0535.rs
+++ b/tests/ui/span/E0539.rs
diff --git a/tests/ui/span/E0535.stderr b/tests/ui/span/E0539.stderr
index fb0b72c0001..01f091a2676 100644
--- a/tests/ui/span/E0535.stderr
+++ b/tests/ui/span/E0539.stderr
@@ -1,14 +1,11 @@
 error[E0539]: malformed `inline` attribute input
-  --> $DIR/E0535.rs:1:1
+  --> $DIR/E0539.rs:1:1
    |
 LL | #[inline(unknown)]
-   | ^^^^^^^^^^^^^^^^^^
+   | ^^^^^^^^^-------^^
+   |          |
+   |          valid arguments are `always` or `never`
    |
-note: valid arguments are `always` or `never`
-  --> $DIR/E0535.rs:1:10
-   |
-LL | #[inline(unknown)]
-   |          ^^^^^^^
 help: try changing it to one of the following valid forms of the attribute
    |
 LL - #[inline(unknown)]