@@ -2,7 +2,7 @@ error[E0271]: type mismatch resolving `for<'x> <UintStruct as TheTrait<&'x isize
2
2
--> $DIR/associated-types-eq-hr.rs:82:5
3
3
|
4
4
LL | fn foo<T>()
5
- | ---
5
+ | --- required by a bound in this
6
6
LL | where T : for<'x> TheTrait<&'x isize, A = &'x isize>
7
7
| ------------- required by this bound in `foo`
8
8
...
@@ -16,7 +16,7 @@ error[E0271]: type mismatch resolving `for<'x> <IntStruct as TheTrait<&'x isize>
16
16
--> $DIR/associated-types-eq-hr.rs:86:5
17
17
|
18
18
LL | fn bar<T>()
19
- | ---
19
+ | --- required by a bound in this
20
20
LL | where T : for<'x> TheTrait<&'x isize, A = &'x usize>
21
21
| ------------- required by this bound in `bar`
22
22
...
@@ -30,7 +30,7 @@ error[E0277]: the trait bound `for<'x, 'y> Tuple: TheTrait<(&'x isize, &'y isize
30
30
--> $DIR/associated-types-eq-hr.rs:91:17
31
31
|
32
32
LL | fn tuple_one<T>()
33
- | ---------
33
+ | --------- required by a bound in this
34
34
LL | where T : for<'x,'y> TheTrait<(&'x isize, &'y isize), A = &'x isize>
35
35
| ---------------------------------------------------------- required by this bound in `tuple_one`
36
36
...
@@ -44,7 +44,7 @@ error[E0271]: type mismatch resolving `for<'x, 'y> <Tuple as TheTrait<(&'x isize
44
44
--> $DIR/associated-types-eq-hr.rs:91:5
45
45
|
46
46
LL | fn tuple_one<T>()
47
- | ---------
47
+ | --------- required by a bound in this
48
48
LL | where T : for<'x,'y> TheTrait<(&'x isize, &'y isize), A = &'x isize>
49
49
| ------------- required by this bound in `tuple_one`
50
50
...
@@ -55,7 +55,7 @@ error[E0277]: the trait bound `for<'x, 'y> Tuple: TheTrait<(&'x isize, &'y isize
55
55
--> $DIR/associated-types-eq-hr.rs:97:17
56
56
|
57
57
LL | fn tuple_two<T>()
58
- | ---------
58
+ | --------- required by a bound in this
59
59
LL | where T : for<'x,'y> TheTrait<(&'x isize, &'y isize), A = &'y isize>
60
60
| ---------------------------------------------------------- required by this bound in `tuple_two`
61
61
...
@@ -69,7 +69,7 @@ error[E0271]: type mismatch resolving `for<'x, 'y> <Tuple as TheTrait<(&'x isize
69
69
--> $DIR/associated-types-eq-hr.rs:97:5
70
70
|
71
71
LL | fn tuple_two<T>()
72
- | ---------
72
+ | --------- required by a bound in this
73
73
LL | where T : for<'x,'y> TheTrait<(&'x isize, &'y isize), A = &'y isize>
74
74
| ------------- required by this bound in `tuple_two`
75
75
...
@@ -80,7 +80,7 @@ error[E0277]: the trait bound `for<'x, 'y> Tuple: TheTrait<(&'x isize, &'y isize
80
80
--> $DIR/associated-types-eq-hr.rs:107:18
81
81
|
82
82
LL | fn tuple_four<T>()
83
- | ----------
83
+ | ---------- required by a bound in this
84
84
LL | where T : for<'x,'y> TheTrait<(&'x isize, &'y isize)>
85
85
| ------------------------------------------- required by this bound in `tuple_four`
86
86
...
0 commit comments