fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]` 2 --> $DIR/link-attr-validation-early.rs:2:1 3 | 4LL | #[link] 5 | ^^^^^^^ 6 | 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> 9 = note: `#[deny(ill_formed_attribute_input)]` on by default 10 11error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]` 12 --> $DIR/link-attr-validation-early.rs:4:1 13 | 14LL | #[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 20error: aborting due to 2 previous errors 21