]> git.proxmox.com Git - rustc.git/blame - src/test/ui/span/issue-35987.stderr
New upstream version 1.45.0+dfsg1
[rustc.git] / src / test / ui / span / issue-35987.stderr
CommitLineData
32a655c1 1error[E0404]: expected trait, found type parameter `Add`
0731742a 2 --> $DIR/issue-35987.rs:5:21
476ff2be 3 |
0531ce1d 4LL | impl<T: Clone, Add> Add for Foo<T> {
32a655c1 5 | ^^^ not a trait
e74abb32 6 |
f9f354fc 7help: consider importing this trait instead
041b39d2 8 |
0531ce1d 9LL | use std::ops::Add;
041b39d2 10 |
476ff2be 11
0531ce1d 12error: aborting due to previous error
476ff2be 13
0531ce1d 14For more information about this error, try `rustc --explain E0404`.