]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/suggest-semicolon-for-fn-in-extern-block.rs
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[rust.git] / src / test / ui / suggestions / suggest-semicolon-for-fn-in-extern-block.rs
1 // run-rustfix
2
3 #[allow(dead_code)]
4
5 extern "C" {
6   fn foo() //~ERROR expected `;`
7 }
8
9 fn main() {}