-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Quasiquoter raises unused import warnings #14618
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
Labels
A-syntaxext
Area: Syntax extensions
Comments
cc @klutzy |
bors
added a commit
that referenced
this issue
Jun 3, 2014
As part of removing `pub use` glob, two extra import globs were injected to make `quote_expr!` work. However the globs caused `unused_import` warning in some places. Quasiquoter needed the globs since it generated idents (e.g. `TyU`) rather than absolute paths (`::syntax::ast::TyU`). This patch removes the extra globs and makes quasiquoter use absolute paths. Fixes #14618 cc @sfackler
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jun 5, 2023
…meter-hints-toggle, r=Veykril fix: `editor.parameterHints.enabled` not always being respected rust-lang#13472 When accepting a suggestion, the parameter hints would always trigger automatically. This PR provides the ability for users to toggle this functionality off by specifying the new "rust-analyzer.autoTriggerParameterHints" option in `settings.json`. Possible options are `true` and `false`. It's `true` by default.
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
Apr 22, 2025
To avoid crashing Clippy, the `bug!()` is used only when debug assertions are enabled. In regular usage, the result will be the same as before, but without the extra line printed on the standard output which has the potential for disrupting shell scripts. changelog: none
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: