1 error[E0308]: mismatched types
2 --> $DIR/type-params-in-different-spaces-1.rs:5:17
4 LL | / trait BrokenAdd: Copy + Add<Output=Self> {
5 LL | | fn broken_add<T>(&self, rhs: T) -> Self {
6 | | - found type parameter
8 | | ^^^ expected type parameter `Self`, found type parameter `T`
13 | |_- expected type parameter
15 = note: expected type parameter `Self`
16 found type parameter `T`
17 = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
18 = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0308`.