]>
git.proxmox.com Git - rustc.git/blob - tests/ui/consts/const-int-rotate.rs
2 let x
: &'
static i32 = &(5_i32.rotate_left(3));
3 //~^ ERROR temporary value dropped while borrowed
4 let y
: &'
static i32 = &(5_i32.rotate_right(3));
5 //~^ ERROR temporary value dropped while borrowed