We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e280515 commit f76a303Copy full SHA for f76a303
src/test/compile-fail/feature-gate-linker-flavor.rs
@@ -8,6 +8,8 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
-#![linker_flavor] //~ ERROR the `#[linker_flavor]` attribute is
+#[used]
12
+fn foo() {}
13
+//~^^ ERROR the `#[used]` attribute is an experimental feature
14
15
fn main() {}
0 commit comments