]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/suggest-semicolon-for-fn-in-extern-block.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / 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() {}