fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0369]: cannot add `{integer}` to `N` 2 --> $DIR/issue-97677.rs:4:7 3 | 4LL | n + 10 5 | - ^ -- {integer} 6 | | 7 | N 8 | 9help: consider restricting type parameter `N` 10 | 11LL | fn add_ten<N: std::ops::Add<i32, Output = N>>(n: N) -> N { 12 | ++++++++++++++++++++++++++++++++ 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0369`.