rust/tests/ui/parser/impl-item-fn-no-body-semantic-fail.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
101 B
Rust
Raw Normal View History

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