mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
931d9f099a
Fix removal span calculation of `unused_qualifications` suggestion Given a path such as `std::ops::Index<str>`, calculate the unnecessary qualification removal span by computing the beginning of the entire span until the ident span of the last path segment, which handles generic arguments and lifetime arguments in the last path segment. Previous logic only kept the ident span of the last path segment which is incorrect. Closes #113808. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |