]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-105226.stderr
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / ui / suggestions / issue-105226.stderr
1 error: non-item in item list
2   --> $DIR/issue-105226.rs:7:56
3    |
4 LL | impl S {
5    |        - item list starts here
6 LL |     fn hello<P>(&self, val: &P) where P: fmt::Display; {
7    |                                                      - ^ non-item starts here
8    |                                                      |
9    |                                                      help: consider removing this semicolon
10 ...
11 LL | }
12    | - item list ends here
13
14 error: associated function in `impl` without body
15   --> $DIR/issue-105226.rs:7:5
16    |
17 LL |     fn hello<P>(&self, val: &P) where P: fmt::Display; {
18    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
19    |                                                      |
20    |                                                      help: provide a definition for the function: `{ <body> }`
21
22 error: associated function in `impl` without body
23   --> $DIR/issue-105226.rs:15:5
24    |
25 LL |     fn hello_empty<P>(&self, val: &P) where P: fmt::Display;
26    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
27    |                                                            |
28    |                                                            help: provide a definition for the function: `{ <body> }`
29
30 error: aborting due to 3 previous errors
31