Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syntax: Make quasiquoter use absolute paths
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
- Loading branch information
Showing
2 changed files
with
54 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1ec6de3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at klutzy@1ec6de3
1ec6de3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging klutzy/rust/issue-14618 = 1ec6de3 into auto
1ec6de3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
klutzy/rust/issue-14618 = 1ec6de3 merged ok, testing candidate = 2ec3eea
1ec6de3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/6048
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/6046
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/5142
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/5151
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/6146
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/5234
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/5242
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/6148
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/5233
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/5239
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5299
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/3035
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/6138
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/5234
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/5249
1ec6de3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 2ec3eea