blob: c0d6a74a51dee6c02bbac7b9c499d2822e9a8d8b (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0275]: overflow evaluating the requirement `<i32 as std::ops::Add>::Output == issue10041::X`
--> $DIR/new_ret_no_self_overflow.rs:20:25
|
LL | pub fn new() -> X {
| ^
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0275`.
|