]>
Commit | Line | Data |
---|---|---|
e1599b0c | 1 | error: implementation of `Foo` is not general enough |
e74abb32 | 2 | --> $DIR/due-to-where-clause.rs:2:5 |
e1599b0c XL |
3 | | |
4 | LL | test::<FooS>(&mut 42); | |
5 | | ^^^^^^^^^^^^ implementation of `Foo` is not general enough | |
e1599b0c XL |
6 | | |
7 | = note: `FooS<'_>` must implement `Foo<'0>`, for any lifetime `'0`... | |
8 | = note: ...but `FooS<'_>` actually implements `Foo<'1>`, for some specific lifetime `'1` | |
9 | ||
10 | error: aborting due to previous error | |
11 |