Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
static
/
static-mut-requires-unsafe.rs
blob: 413b97e431d3045b25948246086078712bb86253 [
file
] [
log
] [
blame
]
static
mut
a
:
isize
=
3
;
fn
main
()
{
a
+=
3
;
//~ ERROR: requires unsafe
a
=
4
;
//~ ERROR: requires unsafe
let
_b
=
a
;
//~ ERROR: requires unsafe
}