about summary refs log tree commit diff
path: root/tests/ui/const-generics/issues/issue-100313.stderr
blob: d1a0249728ebd9991500d52b50cc4006899931d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0080]: writing to ALLOC0 which is read-only
  --> $DIR/issue-100313.rs:18:5
   |
LL |     x.set_false();
   |     ^^^^^^^^^^^^^ evaluation of `_` failed inside this call
   |
note: inside `T::<&true>::set_false`
  --> $DIR/issue-100313.rs:11:13
   |
LL |             *(B as *const bool as *mut bool) = false;
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the failure occurred here

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0080`.