| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -320/+0 | |
| 2020-06-11 | fixup! Provide suggestion to convert numeric op LHS rather than unwrapping RHS | Ayaz Hafiz | -6/+11 | |
| 2020-06-11 | Provide suggestion to convert numeric op LHS rather than unwrapping RHS | Ayaz Hafiz | -0/+315 | |
| Given a code ```rust fn foo(x: u8, y: u32) -> bool { x > y } fn main() {} ``` it could be more helpful to provide a suggestion to do "u32::from(x)" rather than "y.try_into().unwrap()", since the latter may panic. We do this by passing the LHS of a binary expression up the stack into the coercion checker. Closes #73145 | ||||
