@@ -12,7 +12,7 @@ note: `B` doesn't implement `Copy` or `Clone`
1212 |
1313LL | struct B;
1414 | ^^^^^^^^
15- help: if `B` implemented `Clone`, you could clone the value from the field instead of using the spread operator syntax
15+ help: if `B` implemented `Clone`, you could clone the value from the field instead of using the functional record update syntax
1616 |
1717LL | let _s2 = S { a: 2, b: s0.b.clone(), ..s0 };
1818 | +++++++++++++++++
@@ -31,7 +31,7 @@ note: `B` doesn't implement `Copy` or `Clone`
3131 |
3232LL | struct B;
3333 | ^^^^^^^^
34- help: if `B` implemented `Clone`, you could clone the value from the field instead of using the spread operator syntax
34+ help: if `B` implemented `Clone`, you could clone the value from the field instead of using the functional record update syntax
3535 |
3636LL | let _s2 = S { a: 2, b: s0.b.clone(), c: s0.c.clone() };
3737 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -50,7 +50,7 @@ note: `B` doesn't implement `Copy` or `Clone`
5050 |
5151LL | struct B;
5252 | ^^^^^^^^
53- help: if `B` implemented `Clone`, you could clone the value from the field instead of using the spread operator syntax
53+ help: if `B` implemented `Clone`, you could clone the value from the field instead of using the functional record update syntax
5454 |
5555LL | let _s2 = S { a: 2, b: s0.b.clone(), c: s0.c.clone() };
5656 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -69,7 +69,7 @@ note: `B` doesn't implement `Copy` or `Clone`
6969 |
7070LL | struct B;
7171 | ^^^^^^^^
72- help: if `B` implemented `Clone`, you could clone the value from the field instead of using the spread operator syntax
72+ help: if `B` implemented `Clone`, you could clone the value from the field instead of using the functional record update syntax
7373 |
7474LL | let _s2 = S { a: 2, b: s0.b.clone(), ..s0 };
7575 | +++++++++++++++++
@@ -83,7 +83,7 @@ LL | let _s2 = S { a: 2, ..s0 };
8383 | cannot move out of here
8484 | move occurs because `s0.c` has type `K`, which does not implement the `Copy` trait
8585 |
86- help: clone the value from the field instead of using the spread operator syntax
86+ help: clone the value from the field instead of using the functional record update syntax
8787 |
8888LL | let _s2 = S { a: 2, c: s0.c.clone(), ..s0 };
8989 | +++++++++++++++++
@@ -97,7 +97,7 @@ LL | let _s2 = T { a: 2, ..s0 };
9797 | cannot move out of here
9898 | move occurs because `s0.b` has type `Box<isize>`, which does not implement the `Copy` trait
9999 |
100- help: clone the value from the field instead of using the spread operator syntax
100+ help: clone the value from the field instead of using the functional record update syntax
101101 |
102102LL | let _s2 = T { a: 2, b: s0.b.clone() };
103103 | ~~~~~~~~~~~~~~~~~
@@ -111,7 +111,7 @@ LL | let _s2 = T { ..s0 };
111111 | cannot move out of here
112112 | move occurs because `s0.b` has type `Box<isize>`, which does not implement the `Copy` trait
113113 |
114- help: clone the value from the field instead of using the spread operator syntax
114+ help: clone the value from the field instead of using the functional record update syntax
115115 |
116116LL | let _s2 = T { b: s0.b.clone(), ..s0 };
117117 | ~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -139,7 +139,7 @@ LL | let _s2 = V { a: 2, ..s0 };
139139 | cannot move out of here
140140 | move occurs because `s0.b` has type `Box<isize>`, which does not implement the `Copy` trait
141141 |
142- help: clone the value from the field instead of using the spread operator syntax
142+ help: clone the value from the field instead of using the functional record update syntax
143143 |
144144LL | let _s2 = V { a: 2, b: s0.b.clone(), ..s0 };
145145 | +++++++++++++++++
@@ -153,7 +153,7 @@ LL | let _s2 = V { a: 2, ..s0 };
153153 | cannot move out of here
154154 | move occurs because `s0.c` has type `K`, which does not implement the `Copy` trait
155155 |
156- help: clone the value from the field instead of using the spread operator syntax
156+ help: clone the value from the field instead of using the functional record update syntax
157157 |
158158LL | let _s2 = V { a: 2, c: s0.c.clone(), ..s0 };
159159 | +++++++++++++++++
@@ -167,7 +167,7 @@ LL | let _s2 = V { a: 2, ..s0 };
167167 | cannot move out of here
168168 | move occurs because `s0.b` has type `Box<isize>`, which does not implement the `Copy` trait
169169 |
170- help: clone the value from the field instead of using the spread operator syntax
170+ help: clone the value from the field instead of using the functional record update syntax
171171 |
172172LL | let _s2 = V { a: 2, b: s0.b.clone(), ..s0 };
173173 | +++++++++++++++++
@@ -181,7 +181,7 @@ LL | let _s2 = V { a: 2, ..s0 };
181181 | cannot move out of here
182182 | move occurs because `s0.c` has type `Clonable`, which does not implement the `Copy` trait
183183 |
184- help: clone the value from the field instead of using the spread operator syntax
184+ help: clone the value from the field instead of using the functional record update syntax
185185 |
186186LL | let _s2 = V { a: 2, c: s0.c.clone(), ..s0 };
187187 | +++++++++++++++++
0 commit comments