]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/impl-item-fn-no-body-semantic-fail.rs
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[rust.git] / src / test / ui / parser / impl-item-fn-no-body-semantic-fail.rs
1 fn main() {}
2
3 struct X;
4
5 impl X {
6     fn f(); //~ ERROR associated function in `impl` without body
7 }