]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/type-alias-where.stderr
Tweak move error
[rust.git] / src / test / ui / parser / type-alias-where.stderr
1 error: where clause not allowed here
2   --> $DIR/type-alias-where.rs:8:15
3    |
4 LL | type Bar = () where u32: Copy;
5    |         -     ^^^^^^^^^^^^^^^
6    |         |
7    |         help: move it here: `where u32: Copy`
8
9 error: where clause not allowed here
10   --> $DIR/type-alias-where.rs:10:15
11    |
12 LL | type Baz = () where;
13    |               ^^^^^
14
15 error: where clause not allowed here
16   --> $DIR/type-alias-where.rs:24:38
17    |
18 LL |     type Assoc2 where u32: Copy = () where i32: Copy;
19    |                                -     ^^^^^^^^^^^^^^^
20    |                                |
21    |                                help: move it here: `, i32: Copy`
22
23 error: where clause not allowed here
24   --> $DIR/type-alias-where.rs:30:21
25    |
26 LL |     type Assoc = () where u32: Copy;
27    |               -     ^^^^^^^^^^^^^^^
28    |               |
29    |               help: move it here: `where u32: Copy`
30
31 error: where clause not allowed here
32   --> $DIR/type-alias-where.rs:33:22
33    |
34 LL |     type Assoc2 = () where u32: Copy, i32: Copy;
35    |                -     ^^^^^^^^^^^^^^^^^^^^^^^^^^
36    |                |
37    |                help: move it here: `where u32: Copy, i32: Copy`
38
39 error: aborting due to 5 previous errors
40