]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-87635.rs
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / ui / parser / issues / issue-87635.rs
1 struct Foo {}
2
3 impl Foo {
4     pub fn bar()
5     //~^ ERROR: associated function in `impl` without body
6 }
7 //~^ERROR expected one of `->`, `where`, or `{`, found `}`
8
9 fn main() {}