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: tests/ui/error-codes/E0275.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
error[E0275]: overflow evaluating the requirement `Bar<Bar<Bar<Bar<Bar<Bar<Bar<...>>>>>>>: Foo`
2
-
--> $DIR/E0275.rs:6:33
2
+
--> $DIR/E0275.rs:5:33
3
3
|
4
4
LL | impl<T> Foo for T where Bar<T>: Foo {}
5
5
| ^^^
6
6
|
7
7
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`E0275`)
8
8
note: required for `Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<Bar<T>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>` to implement `Foo`
9
-
--> $DIR/E0275.rs:6:9
9
+
--> $DIR/E0275.rs:5:9
10
10
|
11
11
LL | impl<T> Foo for T where Bar<T>: Foo {}
12
12
| ^^^ ^ --- unsatisfied trait bound introduced here
Copy file name to clipboardExpand all lines: tests/ui/higher-ranked/trait-bounds/hrtb-doesnt-borrow-self-2.stderr
+7-7
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
error[E0599]: the method `countx` exists for struct `Filter<Map<Repeat, fn(&u64) -> &u64 {identity::<u64>}>, {[email protected]:111:30}>`, but its trait bounds were not satisfied
2
-
--> $DIR/hrtb-doesnt-borrow-self-2.rs:112:24
1
+
error[E0599]: the method `countx` exists for struct `Filter<Map<Repeat, fn(&u64) -> &u64 {identity::<u64>}>, {[email protected]:109:30}>`, but its trait bounds were not satisfied
2
+
--> $DIR/hrtb-doesnt-borrow-self-2.rs:110:24
3
3
|
4
4
LL | pub struct Filter<S, F> {
5
5
| ----------------------- method `countx` not found for this struct because it doesn't satisfy `_: StreamExt`
@@ -8,16 +8,16 @@ LL | let count = filter.countx();
8
8
| ^^^^^^ method cannot be called due to unsatisfied trait bounds
9
9
|
10
10
note: the following trait bounds were not satisfied:
0 commit comments