rust/tests/ui/suggestions/suggest-semicolon-for-fn-in-extern-block.rs
2023-01-11 09:32:08 +00:00

10 lines
99 B
Rust

// run-rustfix
#[allow(dead_code)]
extern "C" {
fn foo() //~ERROR expected `;`
}
fn main() {}