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