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