Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
const-suggest-feature.rs
blob: d11b91edb88578ed0ab10bbc4a528c508b746538 [
file
] [
log
] [
blame
]
const
WRITE
:
()
=
unsafe
{
*
std
::
ptr
::
null_mut
()
=
0
;
//~^ ERROR dereferencing raw pointers in constants is unstable
//~| HELP add `#![feature(const_raw_ptr_deref)]` to the crate attributes to enable
};
fn
main
()
{}