forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#67574 - Centril:librustc_lowering, r=Mark-S…
…imulacrum Extract `rustc_ast_lowering` crate from `rustc` Working towards rust-lang#65031. This PR moves `src/librustc/hir/lowering{/, .rs}` to its own crate (`librustc_ast_lowering`) which is very self-contained (only `fn lower_crate` and `trait Resolver` are exposed). r? @Mark-Simulacrum
- Loading branch information
Showing
14 changed files
with
126 additions
and
96 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[package] | ||
authors = ["The Rust Project Developers"] | ||
name = "rustc_ast_lowering" | ||
version = "0.0.0" | ||
edition = "2018" | ||
|
||
[lib] | ||
name = "rustc_ast_lowering" | ||
path = "lib.rs" | ||
doctest = false | ||
|
||
[dependencies] | ||
log = { version = "0.4", features = ["release_max_level_info", "std"] } | ||
rustc = { path = "../librustc" } | ||
rustc_target = { path = "../librustc_target" } | ||
rustc_data_structures = { path = "../librustc_data_structures" } | ||
rustc_index = { path = "../librustc_index" } | ||
rustc_span = { path = "../librustc_span" } | ||
rustc_error_codes = { path = "../librustc_error_codes" } | ||
rustc_errors = { path = "../librustc_errors" } | ||
syntax = { path = "../libsyntax" } | ||
smallvec = { version = "1.0", features = ["union", "may_dangle"] } |
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
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
Oops, something went wrong.