]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-10401.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / test / ui / typeck / issue-10401.rs
1 fn main() {
2     let mut a = "a";
3     a += { "b" };
4     //~^ ERROR: binary assignment operation `+=` cannot be applied
5 }