]>
Commit | Line | Data |
---|---|---|
f2b60f7d | 1 | error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]` |
923072b8 FG |
2 | --> $DIR/link-attr-validation-early.rs:2:1 |
3 | | | |
4 | LL | #[link] | |
5 | | ^^^^^^^ | |
6 | | | |
923072b8 FG |
7 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
8 | = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> | |
2b03887a | 9 | = note: `#[deny(ill_formed_attribute_input)]` on by default |
923072b8 | 10 | |
f2b60f7d | 11 | error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]` |
923072b8 FG |
12 | --> $DIR/link-attr-validation-early.rs:4:1 |
13 | | | |
14 | LL | #[link = "foo"] | |
15 | | ^^^^^^^^^^^^^^^ | |
16 | | | |
17 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
18 | = note: for more information, see issue #57571 <https://github.com/rust-lang/rust/issues/57571> | |
19 | ||
20 | error: aborting due to 2 previous errors | |
21 |