Skip to content

Commit

Permalink
update another comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jan 30, 2020
1 parent 3cf413e commit b2c9871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-pass/stacked-borrows/stacked-borrows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit b2c9871

Please sign in to comment.