-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
syntax: Make imports in AST closer to the source and cleanup their parsing #48917
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #48691) made this pull request unmergeable. Please resolve the merge conflicts. |
Could someone else from @rust-lang/compiler take this over? This touches a lot of code that I know little about. |
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.
r=me with some docs and a rebase
src/libsyntax/ast.rs
Outdated
@@ -1880,18 +1880,29 @@ pub type Variant = Spanned<Variant_>; | |||
|
|||
#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)] | |||
pub enum UseTreeKind { |
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.
Can you add some docs?
@bors r=oli-obk |
📌 Commit 6150b1b has been approved by |
☔ The latest upstream changes (presumably #48811) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors r=oli-obk |
📌 Commit 57ddaae has been approved by |
⌛ Testing commit 57ddaae719544aac2384bce9ee8471bbe49ae124 with merge 79348e6ce42fda50f745553dba8babf5a92b83a9... |
💔 Test failed - status-travis |
Fix `unused_import_braces` lint false positive on `use prefix::{self as rename}`
…bilities Add the root segment for name resolution purposes only
@bors r=oli-obk |
📌 Commit a02b1d7 has been approved by |
syntax: Make imports in AST closer to the source and cleanup their parsing This is a continuation of #45846 in some sense.
☀️ Test successful - status-appveyor, status-travis |
Tested on commit rust-lang/rust@5e3ecdc. Direct link to PR: <rust-lang/rust#48917> 💔 clippy-driver on windows: test-fail → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk). 💔 clippy-driver on linux: test-fail → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk).
This is a continuation of #45846 in some sense.