Skip to content

Conversation

@fursich
Copy link
Collaborator

@fursich fursich commented Apr 11, 2024

PR #10 failed because of lint errors that recently appeared. (thank you @mtshr for pointing this out!)

From what I understand it is false positive detection (possibly related to rust-lang/rust#121708 ??) with latest rustc, but I might be missing something.

@kenkoooo san, please let me know if you have any insights on this 🙏


// FIXME: workaround for false positive detection of unused_imports, which might be related to:
// https://github.com/rust-lang/rust/issues/121708
#[allow(unused_imports)]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ended up add this tentative workaround as the warning keeps coming up even after I specified all the import targets. (it disappears only if I remove struct_loader.ts file completely)

@fursich fursich merged commit 615c317 into main Apr 11, 2024
@fursich fursich deleted the chore/unused-imports-with-tests branch April 11, 2024 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants