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

rustc_ast_lowering: misc cleanup & rustc dep reductions #67922

Merged
merged 11 commits into from
Jan 10, 2020

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Jan 6, 2020

  • 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-highfive rust-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.

@petrochenkov petrochenkov self-assigned this Jan 8, 2020
src/librustc_ast_lowering/lib.rs Outdated Show resolved Hide resolved
src/librustc_resolve/lib.rs Outdated Show resolved Hide resolved
@petrochenkov
Copy link
Contributor

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

@petrochenkov petrochenkov 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
Contributor

oli-obk commented Jan 8, 2020

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
Contributor Author

Centril commented Jan 9, 2020

@bors r=petrochenkov

@bors
Copy link
Contributor

bors commented Jan 9, 2020

📌 Commit 5dafa6a has been approved by petrochenkov

@bors bors 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
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
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:master Jan 10, 2020
@Centril Centril deleted the lowering-cleanup branch January 10, 2020 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: 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