]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-35987.stderr
Auto merge of #98051 - davidtwco:split-dwarf-stabilization, r=wesleywiser
[rust.git] / src / test / ui / span / issue-35987.stderr
1 error[E0404]: expected trait, found type parameter `Add`
2   --> $DIR/issue-35987.rs:5:21
3    |
4 LL | impl<T: Clone, Add> Add for Foo<T> {
5    |                ---  ^^^ not a trait
6    |                |
7    |                found this type pararmeter
8    |
9 help: consider importing this trait instead
10    |
11 LL | use std::ops::Add;
12    |
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0404`.