Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INSP: Support usages in attr proc macros in unused imports inspection #8052

Merged
merged 1 commit into from Nov 23, 2021

Conversation

dima74
Copy link
Member

@dima74 dima74 commented Nov 3, 2021

For now, usages are searched in the current mod only

Meta issue: #2158

changelog: Support usages in attribute proc macros in unused imports inspection

@dima74 dima74 added the fix Pull requests that fix some bug(s) label Nov 3, 2021
@dima74 dima74 added this to In Progress in To test via automation Nov 3, 2021
src/main/kotlin/org/rust/openapiext/psi.kt Outdated Show resolved Hide resolved
@dima74 dima74 force-pushed the diralik/unused-imports-attr-macros branch from b8fba66 to 67984c8 Compare November 22, 2021 14:07
@dima74
Copy link
Member Author

dima74 commented Nov 22, 2021

bors r=vlad20012

bors bot added a commit that referenced this pull request Nov 22, 2021
8052: INSP: Support usages in attr proc macros in unused imports inspection r=vlad20012 a=dima74

For now, usages are searched in the current mod only

Meta issue: #2158

changelog: Support usages in attribute proc macros in unused imports inspection

8054: INSP: New auto-import for UFCS trait methods r=vlad20012 a=dima74

Continuation of #8029 for auto-import traits for UFCS.
Meta issue: #7558

changelog: Improve traits auto-import for [UFCS](https://doc.rust-lang.org/1.7.0/book/ufcs.html) methods

8112: Auto import: use absolute path for extern crate if needed r=vlad20012 a=dima74

Fixes #7394

changelog: Use absolute import path in auto-import when the scope has child mod with the same name as extern crate


8135: RES: Fix updating DefMap when adding `#![no_std]` r=vlad20012 a=dima74

changelog: Fixes caching of resolve when adding or removing `#![no_std]` attribute


Co-authored-by: Dmitry Murzin <diralik@yandex.ru>
@bors
Copy link
Contributor

bors bot commented Nov 22, 2021

This PR was included in a batch that timed out, it will be automatically retried

bors bot added a commit that referenced this pull request Nov 22, 2021
8052: INSP: Support usages in attr proc macros in unused imports inspection r=vlad20012 a=dima74

For now, usages are searched in the current mod only

Meta issue: #2158

changelog: Support usages in attribute proc macros in unused imports inspection

8054: INSP: New auto-import for UFCS trait methods r=vlad20012 a=dima74

Continuation of #8029 for auto-import traits for UFCS.
Meta issue: #7558

changelog: Improve traits auto-import for [UFCS](https://doc.rust-lang.org/1.7.0/book/ufcs.html) methods

Co-authored-by: Dmitry Murzin <diralik@yandex.ru>
@bors
Copy link
Contributor

bors bot commented Nov 22, 2021

Build failed (retrying...):

@bors
Copy link
Contributor

bors bot commented Nov 23, 2021

Build succeeded:

@bors bors bot merged commit c9765d8 into master Nov 23, 2021
To test automation moved this from In Progress to Test Nov 23, 2021
@bors bors bot deleted the diralik/unused-imports-attr-macros branch November 23, 2021 01:54
@github-actions github-actions bot added this to the v161 milestone Nov 23, 2021
@neonaot neonaot self-assigned this Nov 29, 2021
@dima74 dima74 mentioned this pull request Nov 30, 2021
18 tasks
@neonaot neonaot moved this from Test to Done in To test Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull requests that fix some bug(s)
Projects
To test
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants