]> git.lizzy.rs Git - rust.git/blob - tests/ui/query-system/issue-83479.stderr
Auto merge of #107667 - cjgillot:no-on-hit, r=lcnr,Zoxc
[rust.git] / tests / ui / query-system / issue-83479.stderr
1 error: bounds on `type`s in this context have no effect
2   --> $DIR/issue-83479.rs:3:24
3    |
4 LL |   type PairCoupledTypes: Trait<
5    |  ________________________^
6 LL | |
7 LL | |
8 LL | |     [u32; {
9 LL | |         static FOO: usize;
10 LL | |     }],
11 LL | | > = impl Trait<
12    | |_^
13
14 error: free static item without body
15   --> $DIR/issue-83479.rs:7:9
16    |
17 LL |         static FOO: usize;
18    |         ^^^^^^^^^^^^^^^^^-
19    |                          |
20    |                          help: provide a definition for the static: `= <expr>;`
21
22 error: free static item without body
23   --> $DIR/issue-83479.rs:12:9
24    |
25 LL |         static FOO: usize;
26    |         ^^^^^^^^^^^^^^^^^-
27    |                          |
28    |                          help: provide a definition for the static: `= <expr>;`
29
30 error[E0405]: cannot find trait `Trait` in this scope
31   --> $DIR/issue-83479.rs:3:24
32    |
33 LL | type PairCoupledTypes: Trait<
34    |                        ^^^^^ not found in this scope
35
36 error[E0405]: cannot find trait `Trait` in this scope
37   --> $DIR/issue-83479.rs:9:10
38    |
39 LL | > = impl Trait<
40    |          ^^^^^ not found in this scope
41
42 error: aborting due to 5 previous errors
43
44 For more information about this error, try `rustc --explain E0405`.