summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/impl-item-fn-no-body-semantic-fail.rs
blob: cb183db59643e454d136b6458b6a46fcab14b25b (plain)
1
2
3
4
5
6
7
fn main() {}

struct X;

impl X {
    fn f(); //~ ERROR associated function in `impl` without body
}