about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-04-10 19:47:55 +0200
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2019-04-15 15:20:05 +0200
commitb82ab24bbf9b6dc6bf7cdccb516ea196f3d0a71f (patch)
treecc2941b2bc27a547ef8b4add9cf536b70f8824a7 /src/test
parentfcf850f34a4db4baa3ccda0e8e2e53eca5fc9936 (diff)
downloadrust-b82ab24bbf9b6dc6bf7cdccb516ea196f3d0a71f.tar.gz
rust-b82ab24bbf9b6dc6bf7cdccb516ea196f3d0a71f.zip
Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of looping
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/malformed/malformed-regressions.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/malformed/malformed-regressions.stderr b/src/test/ui/malformed/malformed-regressions.stderr
index 9a81c1056ca..99a87f0c3aa 100644
--- a/src/test/ui/malformed/malformed-regressions.stderr
+++ b/src/test/ui/malformed/malformed-regressions.stderr
@@ -27,7 +27,7 @@ LL | #[inline = ""]
    = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
 
 warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...",
-                                             /*opt*/ cfg = "...")]`
+                                               /*opt*/ cfg = "...")]`
   --> $DIR/malformed-regressions.rs:6:1
    |
 LL | #[link]
@@ -37,7 +37,7 @@ LL | #[link]
    = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571>
 
 warning: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...",
-                                             /*opt*/ cfg = "...")]`
+                                               /*opt*/ cfg = "...")]`
   --> $DIR/malformed-regressions.rs:7:1
    |
 LL | #[link = ""]