]> git.lizzy.rs Git - rust.git/blob - tests/ui/traits/inductive-overflow/simultaneous.stderr
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / traits / inductive-overflow / simultaneous.stderr
1 error[E0275]: overflow evaluating the requirement `{integer}: Tweedledum`
2   --> $DIR/simultaneous.rs:18:5
3    |
4 LL |     is_ee(4);
5    |     ^^^^^
6    |
7 note: required for `{integer}` to implement `Combo`
8   --> $DIR/simultaneous.rs:11:34
9    |
10 LL | impl<T: Tweedledee + Tweedledum> Combo for T {}
11    |                      ----------  ^^^^^     ^
12    |                      |
13    |                      unsatisfied trait bound introduced here
14 note: required by a bound in `is_ee`
15   --> $DIR/simultaneous.rs:13:13
16    |
17 LL | fn is_ee<T: Combo>(t: T) {
18    |             ^^^^^ required by this bound in `is_ee`
19
20 error: aborting due to previous error
21
22 For more information about this error, try `rustc --explain E0275`.