| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -133/+0 | |
| 2023-01-06 | Change wording to avoid being misleading | Esteban Küber | -20/+9 | |
| 2023-01-06 | Structured suggestion for `&mut dyn Iterator` when possible | Esteban Küber | -4/+38 | |
| Fix #37914. | ||||
| 2022-12-09 | Illegal sized bounds: only suggest mutability change if needed | Robin Schroer | -0/+110 | |
| In a scenario like ``` struct Type; pub trait Trait { fn function(&mut self) where Self: Sized; } impl Trait for Type { fn function(&mut self) {} } fn main() { (&mut Type as &mut dyn Trait).function(); } ``` the problem is Sized, not the mutability of self. Thus don't emit the "you need &T instead of &mut T" note, or the other way around, as all it does is just invert the mutability of whatever was supplied. Fixes #103622. | ||||
