rust/tests/ui/higher-rank-trait-bounds/due-to-where-clause.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
406 B
Plaintext
Raw Normal View History

2019-09-01 23:51:16 -05:00
error: implementation of `Foo` is not general enough
--> $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