Preallocate BUILTIN_ATTRIBUTES symbols and use a hash map instead of looping
This commit is contained in:
parent
fcf850f34a
commit
b82ab24bbf
9 changed files with 645 additions and 417 deletions
|
|
@ -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 = ""]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue