From b82ab24bbf9b6dc6bf7cdccb516ea196f3d0a71f Mon Sep 17 00:00:00 2001 From: John Kåre Alsaker Date: Wed, 10 Apr 2019 19:47:55 +0200 Subject: Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of looping --- src/test/ui/malformed/malformed-regressions.stderr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/ui/malformed') 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 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 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 = ""] -- cgit 1.4.1-3-g733a5