1 error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead
2 --> $DIR/issue-17718-const-borrow.rs:14:39
4 LL | const B: &'static UnsafeCell<usize> = &A;
7 error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead
8 --> $DIR/issue-17718-const-borrow.rs:19:39
10 LL | const E: &'static UnsafeCell<usize> = &D.a;
13 error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead
14 --> $DIR/issue-17718-const-borrow.rs:21:23
16 LL | const F: &'static C = &D;
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0492`.