1
1
note: external requirements
2
- --> $DIR/projection-no-regions-closure.rs:25 :23
2
+ --> $DIR/projection-no-regions-closure.rs:27 :23
3
3
|
4
4
LL | with_signature(x, |mut y| Box::new(y.next()))
5
5
| ^^^^^^^
@@ -19,10 +19,10 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
19
19
),
20
20
]
21
21
= note: number of external vids: 3
22
- = note: where Alias(Projection, AliasTy { substs: [Param(T/#1)], def_id: DefId(2:7157 ~ core[a28e]::iter::traits::iterator::Iterator::Item ) }): '_#2r
22
+ = note: where Alias(Projection, AliasTy { substs: [Param(T/#1)], def_id: ... ) }): '_#2r
23
23
24
24
note: no external requirements
25
- --> $DIR/projection-no-regions-closure.rs:21 :1
25
+ --> $DIR/projection-no-regions-closure.rs:23 :1
26
26
|
27
27
LL | / fn no_region<'a, T>(x: Box<T>) -> Box<dyn Anything + 'a>
28
28
LL | | where
@@ -32,7 +32,7 @@ LL | | T: Iterator,
32
32
= note: defining type: no_region::<'_#1r, T>
33
33
34
34
error[E0309]: the associated type `<T as Iterator>::Item` may not live long enough
35
- --> $DIR/projection-no-regions-closure.rs:25 :31
35
+ --> $DIR/projection-no-regions-closure.rs:27 :31
36
36
|
37
37
LL | with_signature(x, |mut y| Box::new(y.next()))
38
38
| ^^^^^^^^^^^^^^^^^^
@@ -41,7 +41,7 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
41
41
= note: ...so that the type `<T as Iterator>::Item` will meet its required lifetime bounds
42
42
43
43
note: external requirements
44
- --> $DIR/projection-no-regions-closure.rs:34 :23
44
+ --> $DIR/projection-no-regions-closure.rs:36 :23
45
45
|
46
46
LL | with_signature(x, |mut y| Box::new(y.next()))
47
47
| ^^^^^^^
@@ -61,10 +61,10 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
61
61
),
62
62
]
63
63
= note: number of external vids: 3
64
- = note: where Alias(Projection, AliasTy { substs: [Param(T/#1)], def_id: DefId(2:7157 ~ core[a28e]::iter::traits::iterator::Iterator::Item ) }): '_#2r
64
+ = note: where Alias(Projection, AliasTy { substs: [Param(T/#1)], def_id: ... ) }): '_#2r
65
65
66
66
note: no external requirements
67
- --> $DIR/projection-no-regions-closure.rs:30 :1
67
+ --> $DIR/projection-no-regions-closure.rs:32 :1
68
68
|
69
69
LL | / fn correct_region<'a, T>(x: Box<T>) -> Box<dyn Anything + 'a>
70
70
LL | | where
@@ -74,7 +74,7 @@ LL | | T: 'a + Iterator,
74
74
= note: defining type: correct_region::<'_#1r, T>
75
75
76
76
note: external requirements
77
- --> $DIR/projection-no-regions-closure.rs:42 :23
77
+ --> $DIR/projection-no-regions-closure.rs:44 :23
78
78
|
79
79
LL | with_signature(x, |mut y| Box::new(y.next()))
80
80
| ^^^^^^^
@@ -94,10 +94,10 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
94
94
),
95
95
]
96
96
= note: number of external vids: 4
97
- = note: where Alias(Projection, AliasTy { substs: [Param(T/#2)], def_id: DefId(2:7157 ~ core[a28e]::iter::traits::iterator::Iterator::Item ) }): '_#3r
97
+ = note: where Alias(Projection, AliasTy { substs: [Param(T/#2)], def_id: ... ) }): '_#3r
98
98
99
99
note: no external requirements
100
- --> $DIR/projection-no-regions-closure.rs:38 :1
100
+ --> $DIR/projection-no-regions-closure.rs:40 :1
101
101
|
102
102
LL | / fn wrong_region<'a, 'b, T>(x: Box<T>) -> Box<dyn Anything + 'a>
103
103
LL | | where
@@ -107,7 +107,7 @@ LL | | T: 'b + Iterator,
107
107
= note: defining type: wrong_region::<'_#1r, '_#2r, T>
108
108
109
109
error[E0309]: the associated type `<T as Iterator>::Item` may not live long enough
110
- --> $DIR/projection-no-regions-closure.rs:42 :31
110
+ --> $DIR/projection-no-regions-closure.rs:44 :31
111
111
|
112
112
LL | with_signature(x, |mut y| Box::new(y.next()))
113
113
| ^^^^^^^^^^^^^^^^^^
@@ -116,7 +116,7 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
116
116
= note: ...so that the type `<T as Iterator>::Item` will meet its required lifetime bounds
117
117
118
118
note: external requirements
119
- --> $DIR/projection-no-regions-closure.rs:52 :23
119
+ --> $DIR/projection-no-regions-closure.rs:54 :23
120
120
|
121
121
LL | with_signature(x, |mut y| Box::new(y.next()))
122
122
| ^^^^^^^
@@ -136,10 +136,10 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
136
136
),
137
137
]
138
138
= note: number of external vids: 4
139
- = note: where Alias(Projection, AliasTy { substs: [Param(T/#2)], def_id: DefId(2:7157 ~ core[a28e]::iter::traits::iterator::Iterator::Item ) }): '_#3r
139
+ = note: where Alias(Projection, AliasTy { substs: [Param(T/#2)], def_id: ... ) }): '_#3r
140
140
141
141
note: no external requirements
142
- --> $DIR/projection-no-regions-closure.rs:47 :1
142
+ --> $DIR/projection-no-regions-closure.rs:49 :1
143
143
|
144
144
LL | / fn outlives_region<'a, 'b, T>(x: Box<T>) -> Box<dyn Anything + 'a>
145
145
LL | | where
0 commit comments