Repository navigation
Fix wildcard_imports infinite loop on macro generated glob imports - #17828
Conversation
|
Thanks for the pull request. A reviewer will take a look after it receives 2 community reviews. In the meantime, we would highly appreciate if you could try to review any of PRs waiting on community reviews. |
There was a problem hiding this comment.
Community review: Does what it says on the tin, good work. Thanks!
There's an unhandled edgecase (found using an LLM to understand the code/codebase chat logs, that I manually validated/verified).
- Requested: Add that test case for source code with a
*in it after the macro call and fix.
The other comments are personal preference/style, feel free to dismiss them.
- Optional(pedantic/bikeshed/naming) variable naming: Update
span->extended->with_starvariables tospan->span_until_glob->span_with_glob. - Optional(pedantic/bikeshed/code-style) functional style: Get rid of intermediate variables by switching to a function style.
c02300a to
2fab9d6
Compare
|
r? @llogiq rustbot has assigned @llogiq for the project review. Use Why was this reviewer chosen?The reviewer was selected based on:
|
[beta] backports Cherry picked: * #165497 * #165499 - rust-lang/rust-clippy#17752 (was already last beta, but we didn't manage to get the proper fixed merged in time like we planned) - rust-lang/rust-clippy#17828 - rust-lang/rust-clippy#17941 r? @ghost
[beta] backports Cherry picked: * #165497 * #165499 - rust-lang/rust-clippy#17752 (was already last beta, but we didn't manage to get the proper fixed merged in time like we planned) - rust-lang/rust-clippy#17828 - rust-lang/rust-clippy#17941 r? @ghost
fixes #17799
changelog: [
wildcard_imports]: fix infinite loop on macro generated glob imports