]> git.proxmox.com Git - rustc.git/blame - src/test/ui/compare-method/proj-outlives-region.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / compare-method / proj-outlives-region.stderr
CommitLineData
abe05a73 1error[E0276]: impl has stricter requirements than trait
3c0e092e 2 --> $DIR/proj-outlives-region.rs:9:23
c30ab7b3 3 |
0531ce1d 4LL | fn foo() where T: 'a;
c30ab7b3
SL
5 | --------------------- definition of `foo` from trait
6...
532ac7d7 7LL | fn foo() where U: 'a { }
3c0e092e 8 | ^^ impl has extra requirement `U: 'a`
c30ab7b3 9
041b39d2 10error: aborting due to previous error
c30ab7b3 11
0531ce1d 12For more information about this error, try `rustc --explain E0276`.