Sign in
android
/
toolchain
/
rustc
/
15a6560abe9880705f51d219c1fa94f880dbaf35
/
.
/
src
/
test
/
ui
/
pattern
/
bindings-after-at
/
nested-binding-modes-mut.rs
blob: 54f04117f7def61f7c772c2a04c8b3b0384e6cd4 [
file
] [
log
] [
blame
]
#![
feature
(
bindings_after_at
)]
fn
main
()
{
let
mut
is_mut
@
not_mut
=
42
;
&
mut
is_mut
;
&
mut
not_mut
;
//~^ ERROR cannot borrow
let
not_mut
@
mut
is_mut
=
42
;
&
mut
is_mut
;
&
mut
not_mut
;
//~^ ERROR cannot borrow
}