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
Copy file name to clipboardExpand all lines: src/test/ui/interior-mutability/interior-mutability.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
error[E0277]: the type `std::cell::UnsafeCell<i32>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
2
-
--> $DIR/interior-mutability.rs:5:5
2
+
--> $DIR/interior-mutability.rs:7:5
3
3
|
4
4
LL | catch_unwind(|| { x.set(23); });
5
5
| ^^^^^^^^^^^^ `std::cell::UnsafeCell<i32>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
0 commit comments