You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/hrtb/issue-30786.migrate.stderr
+14-14
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
error[E0599]: the method `filterx` exists for struct `Map<Repeat, [closure@$DIR/issue-30786.rs:127:27: 127:36]>`, but its trait bounds were not satisfied
2
-
--> $DIR/issue-30786.rs:128:22
1
+
error[E0599]: the method `filterx` exists for struct `Map<Repeat, [closure@$DIR/issue-30786.rs:126:27: 126:36]>`, but its trait bounds were not satisfied
2
+
--> $DIR/issue-30786.rs:127:22
3
3
|
4
4
LL | pub struct Map<S, F> {
5
5
| --------------------
@@ -8,19 +8,19 @@ LL | pub struct Map<S, F> {
8
8
| doesn't satisfy `_: StreamExt`
9
9
...
10
10
LL | let filter = map.filterx(|x: &_| true);
11
-
| ^^^^^^^ method cannot be called on `Map<Repeat, [closure@$DIR/issue-30786.rs:127:27: 127:36]>` due to unsatisfied trait bounds
11
+
| ^^^^^^^ method cannot be called on `Map<Repeat, [closure@$DIR/issue-30786.rs:126:27: 126:36]>` due to unsatisfied trait bounds
12
12
|
13
13
note: the following trait bounds were not satisfied because of the requirements of the implementation of `StreamExt` for `_`:
LL | impl<T> StreamExt for T where for<'a> &'a mut T: Stream {}
20
20
| ^^^^^^^^^ ^
21
21
22
-
error[E0599]: the method `countx` exists for struct `Filter<Map<Repeat, for<'r> fn(&'r u64) -> &'r u64 {identity::<u64>}>, [closure@$DIR/issue-30786.rs:140:30: 140:42]>`, but its trait bounds were not satisfied
23
-
--> $DIR/issue-30786.rs:141:24
22
+
error[E0599]: the method `countx` exists for struct `Filter<Map<Repeat, for<'r> fn(&'r u64) -> &'r u64 {identity::<u64>}>, [closure@$DIR/issue-30786.rs:139:30: 139:42]>`, but its trait bounds were not satisfied
| ^^^^^^ method cannot be called on `Filter<Map<Repeat, for<'r> fn(&'r u64) -> &'r u64 {identity::<u64>}>, [closure@$DIR/issue-30786.rs:140:30: 140:42]>` due to unsatisfied trait bounds
32
+
| ^^^^^^ method cannot be called on `Filter<Map<Repeat, for<'r> fn(&'r u64) -> &'r u64 {identity::<u64>}>, [closure@$DIR/issue-30786.rs:139:30: 139:42]>` due to unsatisfied trait bounds
33
33
|
34
34
note: the following trait bounds were not satisfied because of the requirements of the implementation of `StreamExt` for `_`:
0 commit comments