]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18119.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-18119.stderr
1 error[E0573]: expected type, found constant `X`
2   --> $DIR/issue-18119.rs:15:6
3    |
4 LL | impl X {}
5    |      ^ not a type
6
7 error[E0573]: expected type, found static `Y`
8   --> $DIR/issue-18119.rs:17:6
9    |
10 LL | impl Y {}
11    |      ^ not a type
12
13 error[E0573]: expected type, found function `foo`
14   --> $DIR/issue-18119.rs:19:6
15    |
16 LL | impl foo {}
17    |      ^^^ not a type
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0573`.