Skip to content

rustc_ast_lowering: misc cleanup & rustc dep reductions - #67922

Merged
bors merged 11 commits into
rust-lang:masterfrom
Centril:lowering-cleanup
Jan 10, 2020
Merged

rustc_ast_lowering: misc cleanup & rustc dep reductions#67922
bors merged 11 commits into
rust-lang:masterfrom
Centril:lowering-cleanup

Conversation

@Centril

Copy link
Copy Markdown
Contributor
  • The first two commits do some code simplification.
  • The next three do some file splitting (getting lib.rs below the 3kloc tidy lint).
  • The remaining commits reduce the number of rustc:: imports. This works towards making lowering independent of the rustc crate.

r? @oli-obk cc @Zoxc

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 6, 2020
@bors

This comment has been minimized.

@bors

This comment has been minimized.

@petrochenkovpetrochenkov self-assigned this Jan 8, 2020
Comment threadsrc/librustc_ast_lowering/lib.rs Outdated
Comment threadsrc/librustc_resolve/lib.rs Outdated
@petrochenkov

Copy link
Copy Markdown
Contributor

r=me with the comments addressed, unless you want to wait for Oli.

@petrochenkovpetrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 8, 2020
@oli-obk

Copy link
Copy Markdown
Contributor

r? @petrochenkov

@bors

This comment has been minimized.

Centril added a commit to Centril/rust that referenced this pull request Jan 8, 2020
Move `intravisit` => `rustc_hir` + misc cleanup
Working towards rust-lang#65031.
This should eventually enable getting rid of rustc as a dependency in various passes (e.g. lints).
cc rust-lang#67806 (this also facilitates liberating lints from tcx)
cc rust-lang#67922 (some other dep reductions)
r? @Zoxc
@Centril

Copy link
Copy Markdown
ContributorAuthor

@bors r=petrochenkov

@bors

bors commented Jan 9, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 5dafa6a has been approved by petrochenkov

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jan 9, 2020
Centril added a commit to Centril/rust that referenced this pull request Jan 10, 2020
…enkov
rustc_ast_lowering: misc cleanup & rustc dep reductions
- The first two commits do some code simplification.
- The next three do some file splitting (getting `lib.rs` below the 3kloc tidy lint).
- The remaining commits reduce the number of `rustc::` imports. This works towards making lowering independent of the `rustc` crate.
r? @oli-obk cc @Zoxc
@CentrilCentril mentioned this pull request Jan 10, 2020
Centril added a commit to Centril/rust that referenced this pull request Jan 10, 2020
…enkov
rustc_ast_lowering: misc cleanup & rustc dep reductions
- The first two commits do some code simplification.
- The next three do some file splitting (getting `lib.rs` below the 3kloc tidy lint).
- The remaining commits reduce the number of `rustc::` imports. This works towards making lowering independent of the `rustc` crate.
r? @oli-obk cc @Zoxc
@CentrilCentril mentioned this pull request Jan 10, 2020
bors added a commit that referenced this pull request Jan 10, 2020
Rollup of 6 pull requests
Successful merges:
- #66463 (Point at opaque and closure type definitions in type errors)
- #67501 (Reduce special treatment for zsts)
- #67820 (Parse the syntax described in RFC 2632)
- #67922 (rustc_ast_lowering: misc cleanup & rustc dep reductions)
- #68071 (Extend support of `_` in type parameters)
- #68073 (expect `fn` after `const unsafe` / `const extern`)
Failed merges:
r? @ghost
@bors
bors merged commit 5dafa6a into rust-lang:masterJan 10, 2020
@Centril
Centril deleted the lowering-cleanup branch January 10, 2020 05:56
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Centril@bors@petrochenkov@oli-obk@rust-highfive