rust/src/test/ui/traits/traits-inductive-overflow-simultaneous.stderr

15 lines
464 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0275]: overflow evaluating the requirement `{integer}: Tweedledum`
2018-12-25 09:56:47 -06:00
--> $DIR/traits-inductive-overflow-simultaneous.rs:18:5
2018-08-08 07:28:26 -05:00
|
LL | fn is_ee<T: Combo>(t: T) {
2020-04-06 00:15:06 -05:00
| ----- required by this bound in `is_ee`
...
2018-08-08 07:28:26 -05:00
LL | is_ee(4);
| ^^^^^
|
= note: required because of the requirements on the impl of `Combo` for `{integer}`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0275`.