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