Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
error-codes
/
E0070.rs
blob: 3aae0c9ff6e72ffd4e092e4cc62796ee63fa92d3 [
file
]
const
SOME_CONST
:
i32
=
12
;
fn
some_other_func
()
{}
fn
some_function
()
{
SOME_CONST
=
14
;
//~ ERROR E0070
1
=
3
;
//~ ERROR E0070
some_other_func
()
=
4
;
//~ ERROR E0070
}
fn
main
()
{
}