blob: 12a26a1bf601ce4ae9ef7eac6b5aa39eba631900 [file] [log] [blame]
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,
| ^^^^^
error[E0277]: the trait bound `MultipleCandidates: Trait` is not satisfied
--> $DIR/inductive-cycle-but-err.rs:54:19
|
LL | impls_trait::<MultipleCandidates>();
| ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
help: the trait `Trait` is not implemented for `MultipleCandidates`
--> $DIR/inductive-cycle-but-err.rs:18:1
|
LL | struct MultipleCandidates;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= help: the trait `Trait` is implemented for `MultipleCandidates`
note: required by a bound in `impls_trait`
--> $DIR/inductive-cycle-but-err.rs:51:19
|
LL | fn impls_trait<T: Trait>() {}
| ^^^^^ required by this bound in `impls_trait`
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0275, E0277.
For more information about an error, try `rustc --explain E0275`.