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