update another comment

This commit is contained in:
Ralf Jung 2020-01-30 13:29:55 +01:00
parent 3cf413e4c2
commit b2c9871f7d

View File

@ -108,7 +108,7 @@ fn drop_after_sharing() {
// Make sure that coercing &mut T to *const T produces a writeable pointer.
fn direct_mut_to_const_raw() {
// FIXME: This is currently disabled, waiting on a fix for <https://github.com/rust-lang/rust/issues/56604>
// TODO: This is currently disabled, waiting on a decision on <https://github.com/rust-lang/rust/issues/56604>
/*let x = &mut 0;
let y: *const i32 = x;
unsafe { *(y as *mut i32) = 1; }