]> git.lizzy.rs Git - rust.git/blob - src/test/ui/span/issue-35987.stderr
e53ea6a55afb5dc3a9b1028bba5f5d89312fe0e9
[rust.git] / src / test / ui / span / issue-35987.stderr
1 error[E0404]: expected trait, found type parameter `Add`
2   --> $DIR/issue-35987.rs:15:21
3    |
4 15 | impl<T: Clone, Add> Add for Foo<T> {
5    |                     ^^^ not a trait
6    |
7 help: possible better candidate is found in another module, you can import it into scope
8    | use std::ops::Add;
9
10 error: main function not found
11
12 error: cannot continue compilation due to previous error
13