os-rust/src/test/ui/issues/issue-24424.stderr

15 lines
537 B
Text
Raw Normal View History

2019-10-29 17:28:39 -07:00
error[E0283]: type annotations needed
2018-12-25 08:56:47 -07:00
--> $DIR/issue-24424.rs:4:1
|
LL | trait Trait0<'l0> {}
| ----------------- required by `Trait0`
LL |
2018-02-23 03:42:32 +03:00
LL | impl <'l0, 'l1, T0> Trait1<'l0, T0> for bool where T0 : Trait0<'l0>, T0 : Trait0<'l1> {}
2019-12-11 17:06:24 -08:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T0`
2019-10-29 17:28:39 -07:00
|
= note: cannot resolve `T0: Trait0<'l0>`
error: aborting due to previous error
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0283`.