]> git.lizzy.rs Git - rust.git/blob - src/test/rustfix/issue-46756-consider-borrowing-cast-or-binexpr.rs
Move the `krate` method to Hir and remove the Krate dep node
[rust.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 }