]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0276.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / error-codes / E0276.stderr
CommitLineData
2c00a5a8 1error[E0276]: impl has stricter requirements than trait
3c0e092e 2 --> $DIR/E0276.rs:6:30
2c00a5a8 3 |
0531ce1d 4LL | fn foo<T>(x: T);
2c00a5a8
XL
5 | ---------------- definition of `foo` from trait
6...
532ac7d7 7LL | fn foo<T>(x: T) where T: Copy {}
3c0e092e 8 | ^^^^ impl has extra requirement `T: Copy`
2c00a5a8
XL
9
10error: aborting due to previous error
11
0531ce1d 12For more information about this error, try `rustc --explain E0276`.