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

syntax: Make imports in AST closer to the source and cleanup their parsing #48917

Merged
merged 6 commits into from Mar 18, 2018

Conversation

Projects
None yet
6 participants
@petrochenkov
Copy link
Contributor

petrochenkov commented Mar 10, 2018

This is a continuation of #45846 in some sense.

@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented Mar 10, 2018

r? @michaelwoerister

(rust_highfive has picked a reviewer for you, use r? to override)

@petrochenkov petrochenkov force-pushed the petrochenkov:import branch from d9b3caa to bddeb15 Mar 10, 2018

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 11, 2018

☔️ The latest upstream changes (presumably #48691) made this pull request unmergeable. Please resolve the merge conflicts.

@michaelwoerister

This comment has been minimized.

Copy link
Contributor

michaelwoerister commented Mar 12, 2018

Could someone else from @rust-lang/compiler take this over? This touches a lot of code that I know little about.

@oli-obk
Copy link
Contributor

oli-obk left a comment

r=me with some docs and a rebase

@@ -1880,18 +1880,29 @@ pub type Variant = Spanned<Variant_>;

#[derive(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Debug)]
pub enum UseTreeKind {

This comment has been minimized.

@oli-obk

oli-obk Mar 12, 2018

Contributor

Can you add some docs?

@oli-obk oli-obk assigned oli-obk and unassigned michaelwoerister Mar 12, 2018

@petrochenkov petrochenkov force-pushed the petrochenkov:import branch from bddeb15 to 6150b1b Mar 12, 2018

@petrochenkov

This comment has been minimized.

Copy link
Contributor Author

petrochenkov commented Mar 12, 2018

@bors r=oli-obk

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 12, 2018

📌 Commit 6150b1b has been approved by oli-obk

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 14, 2018

☔️ The latest upstream changes (presumably #48811) made this pull request unmergeable. Please resolve the merge conflicts.

@petrochenkov petrochenkov force-pushed the petrochenkov:import branch from 6150b1b to 57ddaae Mar 15, 2018

@petrochenkov

This comment has been minimized.

Copy link
Contributor Author

petrochenkov commented Mar 15, 2018

@bors r=oli-obk

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 15, 2018

📌 Commit 57ddaae has been approved by oli-obk

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 17, 2018

⌛️ Testing commit 57ddaae with merge 79348e6...

bors added a commit that referenced this pull request Mar 17, 2018

Auto merge of #48917 - petrochenkov:import, r=oli-obk
syntax: Make imports in AST closer to the source and cleanup their parsing

This is a continuation of #45846 in some sense.
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 17, 2018

💔 Test failed - status-travis

petrochenkov added some commits Mar 9, 2018

AST: Make renames in imports closer to the source
Fix `unused_import_braces` lint false positive on `use prefix::{self as rename}`
AST: Keep distinction between `path` and `::path` in imports and visi…
…bilities

Add the root segment for name resolution purposes only

@petrochenkov petrochenkov force-pushed the petrochenkov:import branch from 57ddaae to a02b1d7 Mar 17, 2018

@petrochenkov

This comment has been minimized.

Copy link
Contributor Author

petrochenkov commented Mar 17, 2018

@bors r=oli-obk

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 17, 2018

📌 Commit a02b1d7 has been approved by oli-obk

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 18, 2018

⌛️ Testing commit a02b1d7 with merge 5e3ecdc...

bors added a commit that referenced this pull request Mar 18, 2018

Auto merge of #48917 - petrochenkov:import, r=oli-obk
syntax: Make imports in AST closer to the source and cleanup their parsing

This is a continuation of #45846 in some sense.
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 18, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: oli-obk
Pushing 5e3ecdc to master...

@bors bors merged commit a02b1d7 into rust-lang:master Mar 18, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@kennytm-githubbot

This comment has been minimized.

Copy link

kennytm-githubbot commented Mar 18, 2018

📣 Toolstate changed by #48917!

Tested on commit 5e3ecdc.
Direct link to PR: #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).

kennytm-githubbot added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Mar 18, 2018

📣 Toolstate changed by rust-lang/rust#48917!
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.