mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-12 20:16:49 +00:00
![]() These tests invoke the various op traits using all accepted types they are implemented for as well as for references to those types. This fixes #49660 and ensures the following implementations exist: * `Add`, `Sub`, `Mul`, `Div`, `Rem` * `T op T`, `T op &T`, `&T op T` and `&T op &T` * for all integer and floating point types * `AddAssign`, `SubAssign`, `MulAssign`, `DivAssign`, `RemAssign` * `&mut T op T` and `&mut T op &T` * for all integer and floating point types * `Neg` * `op T` and `op &T` * for all signed integer and floating point types * `Not` * `op T` and `op &T` * for `bool` * `BitAnd`, `BitOr`, `BitXor` * `T op T`, `T op &T`, `&T op T` and `&T op &T` * for all integer types and bool * `BitAndAssign`, `BitOrAssign`, `BitXorAssign` * `&mut T op T` and `&mut T op &T` * for all integer types and bool * `Shl`, `Shr` * `L op R`, `L op &R`, `&L op R` and `&L op &R` * for all pairs of integer types * `ShlAssign`, `ShrAssign` * `&mut L op R`, `&mut L op &R` * for all pairs of integer types |
||
---|---|---|
.. | ||
dec2flt | ||
flt2dec | ||
bignum.rs | ||
i8.rs | ||
i16.rs | ||
i32.rs | ||
i64.rs | ||
i128.rs | ||
int_macros.rs | ||
mod.rs | ||
nan.rs | ||
ops.rs | ||
u8.rs | ||
u16.rs | ||
u32.rs | ||
u64.rs | ||
u128.rs | ||
uint_macros.rs | ||
wrapping.rs |