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