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

10 lines
100 B
Rust

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