]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/issue-5035-2.stderr
New upstream version 1.20.0+dfsg1
[rustc.git] / src / test / ui / resolve / issue-5035-2.stderr
1 error[E0277]: the trait bound `I + 'static: std::marker::Sized` is not satisfied
2 --> $DIR/issue-5035-2.rs:14:8
3 |
4 14 | fn foo(_x: K) {} //~ ERROR: `I + 'static: std::marker::Sized` is not satisfied
5 | ^^ `I + 'static` does not have a constant size known at compile-time
6 |
7 = help: the trait `std::marker::Sized` is not implemented for `I + 'static`
8 = note: all local variables must have a statically known size
9
10 error: aborting due to previous error
11