1 error[E0277]: the trait bound `{integer}: Scalar` is not satisfied
2 --> $DIR/issue-22645.rs:15:5
5 | ^ the trait `Scalar` is not implemented for `{integer}`
7 = help: the following implementations were found:
9 = note: required because of the requirements on the impl of `std::ops::Add<{integer}>` for `Bob`
11 error[E0308]: mismatched types
12 --> $DIR/issue-22645.rs:15:3
15 | - expected `()` because of default return type
16 LL | let b = Bob + 3.5;
18 | ^^^^^ expected (), found struct `Bob`
20 = note: expected unit type `()`
23 error: aborting due to 2 previous errors
25 Some errors have detailed explanations: E0277, E0308.
26 For more information about an error, try `rustc --explain E0277`.