rust/src/test/ui/issues/issue-14915.stderr
LeSeulArtichaut 2e07892c7d Do not emit note suggesting to implement trait to foreign type
Update tests

Extend to other operations

Refractor check in a separate function

Fix more tests
2020-02-17 15:21:36 +01:00

11 lines
354 B
Text

error[E0369]: cannot add `{integer}` to `std::boxed::Box<isize>`
--> $DIR/issue-14915.rs:6:22
|
LL | println!("{}", x + 1);
| - ^ - {integer}
| |
| std::boxed::Box<isize>
error: aborting due to previous error
For more information about this error, try `rustc --explain E0369`.