fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: implementation of `Foo` is not general enough 2 --> $DIR/hrtb-conflate-regions.rs:27:10 3 | 4LL | fn b() { want_foo2::<SomeStruct>(); } 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Foo` is not general enough 6 | 7 = note: `SomeStruct` must implement `Foo<(&'0 isize, &'1 isize)>`, for any two lifetimes `'0` and `'1`... 8 = note: ...but it actually implements `Foo<(&'2 isize, &'2 isize)>`, for some specific lifetime `'2` 9 10error: implementation of `Foo` is not general enough 11 --> $DIR/hrtb-conflate-regions.rs:27:10 12 | 13LL | fn b() { want_foo2::<SomeStruct>(); } 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Foo` is not general enough 15 | 16 = note: `SomeStruct` must implement `Foo<(&'0 isize, &'1 isize)>`, for any two lifetimes `'0` and `'1`... 17 = note: ...but it actually implements `Foo<(&'2 isize, &'2 isize)>`, for some specific lifetime `'2` 18 19error: aborting due to 2 previous errors 20