rust/tests/ui/suggestions/suggest-semicolon-for-fn-in-extern-block.fixed
2024-02-16 20:02:50 +00:00

10 lines
101 B
Rust

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