]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-18937.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-18937.stderr
1 error[E0276]: impl has stricter requirements than trait
2 --> $DIR/issue-18937.rs:20:31
3 |
4 LL | / fn foo<F>(&mut self, f: F)
5 LL | | where F: fmt::Debug + 'a,
6 LL | | Self: Sized;
7 | |__________________________- definition of `foo` from trait
8 ...
9 LL | where F: fmt::Debug + 'static,
10 | ^^^^^^^ impl has extra requirement `F: 'static`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0276`.