]> git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/issue-97677.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / suggestions / issue-97677.rs
1 // run-rustfix
2
3 fn add_ten<N>(n: N) -> N {
4 n + 10
5 //~^ ERROR cannot add `{integer}` to `N`
6 }
7
8 fn main() { add_ten(0); }