|
1 |
| -error: constraints in a path segment must come after generic arguments |
2 |
| - --> $DIR/suggest-move-types.rs:26:19 |
| 1 | +error: generic arguments must come before the first constraint |
| 2 | + --> $DIR/suggest-move-types.rs:26:26 |
3 | 3 | |
|
4 | 4 | LL | struct A<T, M: One<A=(), T>> {
|
5 |
| - | ^----^^-^ |
6 |
| - | | | |
7 |
| - | | this generic argument must come before the first constraint |
| 5 | + | ---- ^ |
| 6 | + | | |
8 | 7 | | the first constraint is provided here
|
9 | 8 |
|
10 |
| -error: constraints in a path segment must come after generic arguments |
11 |
| - --> $DIR/suggest-move-types.rs:33:36 |
| 9 | +error: generic arguments must come before the first constraint |
| 10 | + --> $DIR/suggest-move-types.rs:33:43 |
12 | 11 | |
|
13 | 12 | LL | struct Al<'a, T, M: OneWithLifetime<A=(), T, 'a>> {
|
14 |
| - | ^----^^-^^--^ |
15 |
| - | | | | |
16 |
| - | | | this generic argument must come before the first constraint |
17 |
| - | | this generic argument must come before the first constraint |
| 13 | + | ---- ^ ^^ |
| 14 | + | | |
18 | 15 | | the first constraint is provided here
|
19 | 16 |
|
20 |
| -error: constraints in a path segment must come after generic arguments |
21 |
| - --> $DIR/suggest-move-types.rs:40:27 |
| 17 | +error: generic arguments must come before the first constraint |
| 18 | + --> $DIR/suggest-move-types.rs:40:46 |
22 | 19 | |
|
23 | 20 | LL | struct B<T, U, V, M: Three<A=(), B=(), C=(), T, U, V>> {
|
24 |
| - | ^----^^^^^^^^^^^^^^-^^-^^-^ |
25 |
| - | | | | | |
26 |
| - | | | | this generic argument must come before the first constraint |
27 |
| - | | | this generic argument must come before the first constraint |
28 |
| - | | this generic argument must come before the first constraint |
| 21 | + | ---- ^ ^ ^ |
| 22 | + | | |
29 | 23 | | the first constraint is provided here
|
30 | 24 |
|
31 |
| -error: constraints in a path segment must come after generic arguments |
32 |
| - --> $DIR/suggest-move-types.rs:48:52 |
| 25 | +error: generic arguments must come before the first constraint |
| 26 | + --> $DIR/suggest-move-types.rs:48:71 |
33 | 27 | |
|
34 | 28 | LL | struct Bl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<A=(), B=(), C=(), T, U, V, 'a, 'b, 'c>> {
|
35 |
| - | ^----^^^^^^^^^^^^^^-^^-^^-^^--^^--^^--^ |
36 |
| - | | | | | | | | |
37 |
| - | | | | | | | this generic argument must come before the first constraint |
38 |
| - | | | | | | this generic argument must come before the first constraint |
39 |
| - | | | | | this generic argument must come before the first constraint |
40 |
| - | | | | this generic argument must come before the first constraint |
41 |
| - | | | this generic argument must come before the first constraint |
42 |
| - | | this generic argument must come before the first constraint |
| 29 | + | ---- ^ ^ ^ ^^ ^^ ^^ |
| 30 | + | | |
43 | 31 | | the first constraint is provided here
|
44 | 32 |
|
45 |
| -error: constraints in a path segment must come after generic arguments |
46 |
| - --> $DIR/suggest-move-types.rs:57:27 |
| 33 | +error: generic arguments must come before the first constraint |
| 34 | + --> $DIR/suggest-move-types.rs:57:49 |
47 | 35 | |
|
48 | 36 | LL | struct C<T, U, V, M: Three<T, A=(), B=(), C=(), U, V>> {
|
49 |
| - | ^^^^----^^^^^^^^^^^^^^-^^-^ |
50 |
| - | | | | |
51 |
| - | | | this generic argument must come before the first constraint |
52 |
| - | | this generic argument must come before the first constraint |
| 37 | + | ---- ^ ^ |
| 38 | + | | |
53 | 39 | | the first constraint is provided here
|
54 | 40 |
|
55 |
| -error: constraints in a path segment must come after generic arguments |
56 |
| - --> $DIR/suggest-move-types.rs:65:52 |
| 41 | +error: generic arguments must come before the first constraint |
| 42 | + --> $DIR/suggest-move-types.rs:65:78 |
57 | 43 | |
|
58 | 44 | LL | struct Cl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), C=(), U, 'b, V, 'c>> {
|
59 |
| - | ^^^^^^^^----^^^^^^^^^^^^^^-^^--^^-^^--^ |
60 |
| - | | | | | | |
61 |
| - | | | | | this generic argument must come before the first constraint |
62 |
| - | | | | this generic argument must come before the first constraint |
63 |
| - | | | this generic argument must come before the first constraint |
64 |
| - | | this generic argument must come before the first constraint |
| 45 | + | ---- ^ ^^ ^ ^^ |
| 46 | + | | |
65 | 47 | | the first constraint is provided here
|
66 | 48 |
|
67 |
| -error: constraints in a path segment must come after generic arguments |
68 |
| - --> $DIR/suggest-move-types.rs:74:27 |
| 49 | +error: generic arguments must come before the first constraint |
| 50 | + --> $DIR/suggest-move-types.rs:74:43 |
69 | 51 | |
|
70 | 52 | LL | struct D<T, U, V, M: Three<T, A=(), B=(), U, C=(), V>> {
|
71 |
| - | ^^^^----^^^^^^^^-^^^^^^^^-^ |
72 |
| - | | | | |
73 |
| - | | | this generic argument must come before the first constraint |
74 |
| - | | this generic argument must come before the first constraint |
| 53 | + | ---- ^ ^ |
| 54 | + | | |
75 | 55 | | the first constraint is provided here
|
76 | 56 |
|
77 |
| -error: constraints in a path segment must come after generic arguments |
78 |
| - --> $DIR/suggest-move-types.rs:82:52 |
| 57 | +error: generic arguments must come before the first constraint |
| 58 | + --> $DIR/suggest-move-types.rs:82:72 |
79 | 59 | |
|
80 | 60 | LL | struct Dl<'a, 'b, 'c, T, U, V, M: ThreeWithLifetime<T, 'a, A=(), B=(), U, 'b, C=(), V, 'c>> {
|
81 |
| - | ^^^^^^^^----^^^^^^^^-^^--^^^^^^^^-^^--^ |
82 |
| - | | | | | | |
83 |
| - | | | | | this generic argument must come before the first constraint |
84 |
| - | | | | this generic argument must come before the first constraint |
85 |
| - | | | this generic argument must come before the first constraint |
86 |
| - | | this generic argument must come before the first constraint |
| 61 | + | ---- ^ ^^ ^ ^^ |
| 62 | + | | |
87 | 63 | | the first constraint is provided here
|
88 | 64 |
|
89 | 65 | error[E0747]: type provided when a lifetime was expected
|
|
0 commit comments