Skip to content

Commit e6233d6

Browse files
authored
Unrolled build for rust-lang#116191
Rollup merge of rust-lang#116191 - apekros:issue-56098, r=petrochenkov Add regression test for rust-lang#56098 Closes rust-lang#56098
2 parents dd91aba + ac9707d commit e6233d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/ui/foreign/foreign-fn-linkname.rs

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// ignore-wasm32-bare no libc to test ffi with
33
// ignore-sgx no libc
44

5+
// Ensure no false positive on "unused extern crate" lint
6+
#![deny(unused_extern_crates)]
7+
58
#![feature(rustc_private)]
69

710
extern crate libc;

0 commit comments

Comments
 (0)