mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-15 01:17:16 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
324 B
Text
9 lines
324 B
Text
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`.
|