+error[E0507]: cannot move out of borrowed content
+ --> $DIR/issue-20801.rs:36:22
+ |
+LL | let a = unsafe { *mut_ref() };
+ | ^^^^^^^^^^ cannot move out of borrowed content
+
+error[E0507]: cannot move out of borrowed content
+ --> $DIR/issue-20801.rs:39:22
+ |
+LL | let b = unsafe { *imm_ref() };
+ | ^^^^^^^^^^ cannot move out of borrowed content
+
+error[E0507]: cannot move out of borrowed content
+ --> $DIR/issue-20801.rs:42:22
+ |
+LL | let c = unsafe { *mut_ptr() };
+ | ^^^^^^^^^^ cannot move out of borrowed content
+
+error[E0507]: cannot move out of borrowed content