]> git.lizzy.rs Git - rust.git/blob - src/test/ui/compare-method/proj-outlives-region.stderr
Rollup merge of #102412 - joboet:dont_panic, r=m-ou-se
[rust.git] / src / test / ui / compare-method / proj-outlives-region.stderr
1 error[E0276]: impl has stricter requirements than trait
2   --> $DIR/proj-outlives-region.rs:9:23
3    |
4 LL |     fn foo() where T: 'a;
5    |     --------------------- definition of `foo` from trait
6 ...
7 LL |     fn foo() where U: 'a { }
8    |                       ^^ impl has extra requirement `U: 'a`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0276`.