]> git.proxmox.com Git - rustc.git/blob - src/test/rustfix/issue-46756-consider-borrowing-cast-or-binexpr.rs
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / rustfix / issue-46756-consider-borrowing-cast-or-binexpr.rs
1 #![allow(unused)]
2
3 fn light_flows_our_war_of_mocking_words(and_yet: &usize) -> usize {
4 and_yet + 1
5 }
6
7 fn main() {
8 let behold: isize = 2;
9 let with_tears: usize = 3;
10 light_flows_our_war_of_mocking_words(behold as usize);
11 light_flows_our_war_of_mocking_words(with_tears + 4);
12 }