We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd91aba + ac9707d commit e6233d6Copy full SHA for e6233d6
tests/ui/foreign/foreign-fn-linkname.rs
@@ -2,6 +2,9 @@
2
// ignore-wasm32-bare no libc to test ffi with
3
// ignore-sgx no libc
4
5
+// Ensure no false positive on "unused extern crate" lint
6
+#![deny(unused_extern_crates)]
7
+
8
#![feature(rustc_private)]
9
10
extern crate libc;
0 commit comments