blob: a79a239cbe004a48a3e9b54ccfd15b7805d32f53 [file] [log] [blame]
fn main() {
let x: isize = 3;
let y: &mut isize = &mut x; //~ ERROR cannot borrow
*y = 5;
println!("{}", *y);
}