]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-35987.stderr
Rollup merge of #87922 - Manishearth:c-enum-target-spec, r=nagisa,eddyb
[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 help: consider importing this trait instead
8    |
9 LL | use std::ops::Add;
10    |
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0404`.