2024-05-02 13:51:13 -04:00
|
|
|
error[E0275]: overflow evaluating the requirement `(): B`
|
2023-09-14 16:21:54 +02:00
|
|
|
--> $DIR/inductive-not-on-stack.rs:41:15
|
|
|
|
|
|
|
|
|
|
|
LL | impls_a::<()>();
|
|
|
|
|
| ^^
|
|
|
|
|
|
|
2024-05-01 16:03:26 -04:00
|
|
|
note: required for `()` to implement `A`
|
|
|
|
|
--> $DIR/inductive-not-on-stack.rs:21:16
|
|
|
|
|
|
|
|
|
|
|
LL | impl<T: B + C> A for T {}
|
|
|
|
|
| - ^ ^
|
|
|
|
|
| |
|
|
|
|
|
| unsatisfied trait bound introduced here
|
2024-05-02 13:51:13 -04:00
|
|
|
note: required for `()` to implement `B`
|
|
|
|
|
--> $DIR/inductive-not-on-stack.rs:22:12
|
|
|
|
|
|
|
|
|
|
|
LL | impl<T: A> B for T {}
|
|
|
|
|
| - ^ ^
|
|
|
|
|
| |
|
|
|
|
|
| unsatisfied trait bound introduced here
|
|
|
|
|
= note: 7 redundant requirements hidden
|
2024-05-01 16:03:26 -04:00
|
|
|
= note: required for `()` to implement `A`
|
2023-09-14 16:21:54 +02:00
|
|
|
note: required by a bound in `impls_a`
|
|
|
|
|
--> $DIR/inductive-not-on-stack.rs:25:15
|
|
|
|
|
|
|
|
|
|
|
LL | fn impls_a<T: A>() {}
|
|
|
|
|
| ^ required by this bound in `impls_a`
|
|
|
|
|
|
2024-05-02 13:51:13 -04:00
|
|
|
error[E0275]: overflow evaluating the requirement `(): AR`
|
2023-08-24 19:23:06 +00:00
|
|
|
--> $DIR/inductive-not-on-stack.rs:44:16
|
2023-08-08 18:07:38 +02:00
|
|
|
|
|
|
|
|
|
LL | impls_ar::<()>();
|
2023-08-24 19:23:06 +00:00
|
|
|
| ^^
|
2023-08-08 18:07:38 +02:00
|
|
|
|
|
2024-05-01 16:03:26 -04:00
|
|
|
note: required for `()` to implement `BR`
|
|
|
|
|
--> $DIR/inductive-not-on-stack.rs:35:13
|
|
|
|
|
|
|
|
|
|
|
LL | impl<T: AR> BR for T {}
|
|
|
|
|
| -- ^^ ^
|
|
|
|
|
| |
|
|
|
|
|
| unsatisfied trait bound introduced here
|
|
|
|
|
note: required for `()` to implement `CR`
|
|
|
|
|
--> $DIR/inductive-not-on-stack.rs:36:13
|
|
|
|
|
|
|
|
|
|
|
LL | impl<T: BR> CR for T {}
|
|
|
|
|
| -- ^^ ^
|
|
|
|
|
| |
|
|
|
|
|
| unsatisfied trait bound introduced here
|
2024-05-02 13:51:13 -04:00
|
|
|
note: required for `()` to implement `AR`
|
|
|
|
|
--> $DIR/inductive-not-on-stack.rs:34:18
|
|
|
|
|
|
|
|
|
|
|
LL | impl<T: CR + BR> AR for T {}
|
|
|
|
|
| -- ^^ ^
|
|
|
|
|
| |
|
|
|
|
|
| unsatisfied trait bound introduced here
|
|
|
|
|
= note: 6 redundant requirements hidden
|
2024-05-01 16:03:26 -04:00
|
|
|
= note: required for `()` to implement `AR`
|
2023-08-08 18:07:38 +02:00
|
|
|
note: required by a bound in `impls_ar`
|
|
|
|
|
--> $DIR/inductive-not-on-stack.rs:38:16
|
|
|
|
|
|
|
|
|
|
|
LL | fn impls_ar<T: AR>() {}
|
|
|
|
|
| ^^ required by this bound in `impls_ar`
|
|
|
|
|
|
2023-09-14 16:21:54 +02:00
|
|
|
error: aborting due to 2 previous errors
|
2023-08-08 18:07:38 +02:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0275`.
|