]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/impl-item-fn-no-body-semantic-fail.rs
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup
[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 }