1 error[E0507]: cannot move out of borrowed content
2 --> $DIR/issue-20801.rs:36:22
4 LL | let a = unsafe { *mut_ref() };
7 | cannot move out of borrowed content
8 | help: consider removing the `*`: `mut_ref()`
10 error[E0507]: cannot move out of borrowed content
11 --> $DIR/issue-20801.rs:39:22
13 LL | let b = unsafe { *imm_ref() };
16 | cannot move out of borrowed content
17 | help: consider removing the `*`: `imm_ref()`
19 error[E0507]: cannot move out of borrowed content
20 --> $DIR/issue-20801.rs:42:22
22 LL | let c = unsafe { *mut_ptr() };
25 | cannot move out of borrowed content
26 | help: consider removing the `*`: `mut_ptr()`
28 error[E0507]: cannot move out of borrowed content
29 --> $DIR/issue-20801.rs:45:22
31 LL | let d = unsafe { *const_ptr() };
34 | cannot move out of borrowed content
35 | help: consider removing the `*`: `const_ptr()`
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0507`.