]>
git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/issue-84973-negative.rs
1 // Checks that we only suggest borrowing if &T actually implements the trait.
10 bar(a
); //~ ERROR: the trait bound `i32: Tr` is not satisfied [E0277]
11 bar(b
); //~ ERROR: the trait bound `f32: Tr` is not satisfied [E0277]