2023-03-07 06:03:11 -06:00
|
|
|
error[E0275]: overflow evaluating the requirement `<i32 as std::ops::Add>::Output == issue10041::X`
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/new_ret_no_self_overflow.rs:20:25
|
2023-03-07 06:03:11 -06:00
|
|
|
|
|
|
|
|
LL | pub fn new() -> X {
|
|
|
|
| ^
|
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-03-07 06:03:11 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0275`.
|