]> git.lizzy.rs Git - rust.git/blob - src/test/ui/higher-rank-trait-bounds/due-to-where-clause.stderr
Rollup merge of #94467 - ibraheemdev:master, r=pnkfelix
[rust.git] / src / test / ui / higher-rank-trait-bounds / due-to-where-clause.stderr
1 error: implementation of `Foo` is not general enough
2   --> $DIR/due-to-where-clause.rs:2:5
3    |
4 LL |     test::<FooS>(&mut 42);
5    |     ^^^^^^^^^^^^ implementation of `Foo` is not general enough
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