fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: non-item in item list 2 --> $DIR/issue-105226.rs:7:56 3 | 4LL | impl S { 5 | - item list starts here 6LL | fn hello<P>(&self, val: &P) where P: fmt::Display; { 7 | - ^ non-item starts here 8 | | 9 | help: consider removing this semicolon 10... 11LL | } 12 | - item list ends here 13 14error: associated function in `impl` without body 15 --> $DIR/issue-105226.rs:7:5 16 | 17LL | fn hello<P>(&self, val: &P) where P: fmt::Display; { 18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- 19 | | 20 | help: provide a definition for the function: `{ <body> }` 21 22error: associated function in `impl` without body 23 --> $DIR/issue-105226.rs:15:5 24 | 25LL | fn hello_empty<P>(&self, val: &P) where P: fmt::Display; 26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- 27 | | 28 | help: provide a definition for the function: `{ <body> }` 29 30error: aborting due to 3 previous errors 31