2025-04-14 12:43:16 +02:00
|
|
|
error[E0275]: overflow evaluating the requirement `MultipleNested: Trait`
|
|
|
|
|
--> $DIR/inductive-cycle-but-err.rs:43:16
|
|
|
|
|
|
|
|
|
|
|
LL | impl Trait for MultipleNested
|
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error[E0275]: overflow evaluating the requirement `MultipleCandidates: Trait`
|
|
|
|
|
--> $DIR/inductive-cycle-but-err.rs:46:25
|
|
|
|
|
|
|
|
|
|
|
LL | MultipleCandidates: Trait,
|
|
|
|
|
| ^^^^^
|
|
|
|
|
|
2023-08-10 12:56:53 +02:00
|
|
|
error[E0277]: the trait bound `MultipleCandidates: Trait` is not satisfied
|
2025-04-14 12:43:16 +02:00
|
|
|
--> $DIR/inductive-cycle-but-err.rs:54:19
|
2023-08-10 12:56:53 +02:00
|
|
|
|
|
|
|
|
|
LL | impls_trait::<MultipleCandidates>();
|
2025-08-19 17:49:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
2023-08-10 12:56:53 +02:00
|
|
|
|
|
2025-08-19 17:49:20 +00:00
|
|
|
help: the trait `Trait` is not implemented for `MultipleCandidates`
|
|
|
|
|
--> $DIR/inductive-cycle-but-err.rs:18:1
|
|
|
|
|
|
|
|
|
|
|
LL | struct MultipleCandidates;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-08-10 12:56:53 +02:00
|
|
|
= help: the trait `Trait` is implemented for `MultipleCandidates`
|
|
|
|
|
note: required by a bound in `impls_trait`
|
2025-04-14 12:43:16 +02:00
|
|
|
--> $DIR/inductive-cycle-but-err.rs:51:19
|
2023-08-10 12:56:53 +02:00
|
|
|
|
|
|
|
|
|
LL | fn impls_trait<T: Trait>() {}
|
|
|
|
|
| ^^^^^ required by this bound in `impls_trait`
|
|
|
|
|
|
2025-04-14 12:43:16 +02:00
|
|
|
error: aborting due to 3 previous errors
|
2023-08-10 12:56:53 +02:00
|
|
|
|
2025-04-14 12:43:16 +02:00
|
|
|
Some errors have detailed explanations: E0275, E0277.
|
|
|
|
|
For more information about an error, try `rustc --explain E0275`.
|