10 lines
171 B
Rust
10 lines
171 B
Rust
//@ run-rustfix
|
|
|
|
#![allow(dead_code)]
|
|
|
|
unsafe extern "C" {
|
|
unsafe fn foo(); //~ ERROR items in unadorned `extern` blocks cannot have safety qualifiers
|
|
}
|
|
|
|
fn main() {}
|