You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
73
73
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
74
74
borrowConsumeVal(x, x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
75
-
// expected-error @-1:29 {{overlapping accesses, but deinitialization requires exclusive access; consider copying to a local variable}}
75
+
// expected-error @-1:29 {{overlapping accesses, but deinitialization requires exclusive access}}
76
76
// expected-note @-2:26 {{conflicting access is here}}
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
191
191
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
192
192
borrowConsumeVal(x, x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
193
-
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access; consider copying to a local variable}}
193
+
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access}}
194
194
// expected-note @-2 {{conflicting access is here}}
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
252
252
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
253
253
borrowConsumeVal(x, x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
254
-
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access; consider copying to a local variable}}
254
+
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access}}
255
255
// expected-note @-2 {{conflicting access is here}}
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
385
385
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
386
386
borrowConsumeVal(x, x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
387
-
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access; consider copying to a local variable}}
387
+
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access}}
388
388
// expected-note @-2 {{conflicting access is here}}
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1044
1044
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1045
1045
borrowConsumeVal(x, x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1046
-
// expected-error @-1:29 {{overlapping accesses, but deinitialization requires exclusive access; consider copying to a local variable}}
1046
+
// expected-error @-1:29 {{overlapping accesses, but deinitialization requires exclusive access}}
1047
1047
// expected-note @-2:26 {{conflicting access is here}}
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1159
1159
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1160
1160
borrowConsumeVal(x, x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1161
-
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access; consider copying to a local variable}}
1161
+
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access}}
1162
1162
// expected-note @-2 {{conflicting access is here}}
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1290
1290
consumeVal(x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1291
1291
borrowConsumeVal(x, x) // expected-error {{'x' was consumed but it is illegal to consume a noncopyable mutable capture of an escaping closure. One can only read from it or assign over it}}
1292
-
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access; consider copying to a local variable}}
1292
+
// expected-error @-1 {{overlapping accesses, but deinitialization requires exclusive access}}
1293
1293
// expected-note @-2 {{conflicting access is here}}
0 commit comments