Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
72968e519834213d69989271fd6dfb2cdc64493c
/
.
/
tests
/
ui
/
consts
/
const-int-rotate.rs
blob: 3aacf854db1da974e509163450039191412df114 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
:
&
'
static
i32
=
&(
5
_i32
.
rotate_left
(
3
));
//~^ ERROR temporary value dropped while borrowed
let
y
:
&
'
static
i32
=
&(
5
_i32
.
rotate_right
(
3
));
//~^ ERROR temporary value dropped while borrowed
}