2019-09-01 21:51:16 -07:00
|
|
|
error: implementation of `Foo` is not general enough
|
2019-09-24 21:55:49 +01:00
|
|
|
--> $DIR/due-to-where-clause.rs:2:5
|
2019-09-01 21:51:16 -07:00
|
|
|
|
|
|
|
|
LL | test::<FooS>(&mut 42);
|
2019-09-18 13:51:36 -07:00
|
|
|
| ^^^^^^^^^^^^ implementation of `Foo` is not general enough
|
2019-09-01 21:51:16 -07:00
|
|
|
|
|
2019-09-18 13:51:36 -07:00
|
|
|
= note: `FooS<'_>` must implement `Foo<'0>`, for any lifetime `'0`...
|
2019-09-01 21:51:16 -07:00
|
|
|
= note: ...but `FooS<'_>` actually implements `Foo<'1>`, for some specific lifetime `'1`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|