]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type/type-params-in-different-spaces-1.stderr
Update upstream source from tag 'upstream/1.39.0+dfsg1'
[rustc.git] / src / test / ui / type / type-params-in-different-spaces-1.stderr
1 error[E0308]: mismatched types
2 --> $DIR/type-params-in-different-spaces-1.rs:5:17
3 |
4 LL | *self + rhs
5 | ^^^ expected type parameter, found a different type parameter
6 |
7 = note: expected type `Self`
8 found type `T`
9 = note: a type parameter was expected, but a different one was found; you might be missing a type parameter or trait bound
10 = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.