]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/issues/issue-27255.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / parser / issues / issue-27255.stderr
1 error: missing `for` in a trait impl
2   --> $DIR/issue-27255.rs:3:7
3    |
4 LL | impl A .. {}
5    |       ^ help: add `for` here
6
7 error: missing `for` in a trait impl
8   --> $DIR/issue-27255.rs:7:7
9    |
10 LL | impl A      usize {}
11    |       ^^^^^^ help: add `for` here
12
13 error: `impl Trait for .. {}` is an obsolete syntax
14   --> $DIR/issue-27255.rs:3:1
15    |
16 LL | impl A .. {}
17    | ^^^^^^^^^^^^
18    |
19    = help: use `auto trait Trait {}` instead
20
21 error: aborting due to 3 previous errors
22