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

10 lines
100 B
Rust

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