]> git.proxmox.com Git - rustc.git/blob - src/test/ui/hrtb/due-to-where-clause.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / hrtb / 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