summary refs log tree commit diff
path: root/src/test/ui/issue-41394.stderr
blob: 9e4afb3b28ac195a8856d274ef0cc6362418a148 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0369]: binary operation `+` cannot be applied to type `&str`
  --> $DIR/issue-41394.rs:12:9
   |
LL |     A = "" + 1
   |         ^^^^^^
   |
   = note: an implementation of `std::ops::Add` might be missing for `&str`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0369`.