Uh oh!
There was an error while loading. Please reload this page.
Extract rustc_ast_lowering crate from rustc - #67574
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
cjgillot
commented
Dec 24, 2019
I would have tried doing the other way around: moving the HIR definition along with the lowering, as a librustc dependency. |
Centril
commented
Dec 24, 2019
@cjgillot HIR is more entangled into librustc so it will take more work (which I am aiming for in a follow up). But HIR and lowering should, much like the AST and the parser, not be in the same crate. |
Mark-Simulacrum
commented
Dec 24, 2019
@bors r+ |
bors
commented
Dec 24, 2019
📌 Commit 81b2c247b0c107b1a861b9adfe2ef4731ae8072c has been approved by |
bors
commented
Dec 24, 2019
⌛ Testing commit 81b2c247b0c107b1a861b9adfe2ef4731ae8072c with merge c3db61f9bba900a5fccf9a5e4c261b8e1b515de0... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
petrochenkov
commented
Dec 29, 2019
+1 (Also, for some reason I thought the PR was already merged.) |
81b2c24 to
70eca99Comparerustc_lowering crate from rustcrustc_ast_lowering crate from rustc
@bors r=Mark-Simulacrum |
This comment has been minimized.
This comment has been minimized.
bors
commented
Dec 31, 2019
📌 Commit 70eca99 has been approved by |
…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
Rollup of 6 pull requests Successful merges: - #67574 (Extract `rustc_ast_lowering` crate from `rustc`) - #67685 (Constify Result) - #67702 (Add symbol normalization for proc_macro_server.) - #67730 (Cleanup pattern type checking, fix diagnostics bugs (+ improvements)) - #67744 (parser: reduce diversity in error handling mechanisms) - #67748 (Use function attribute "frame-pointer" instead of "no-frame-pointer-elim") Failed merges: r? @ghost
Working towards #65031.
This PR moves
src/librustc/hir/lowering{/, .rs}to its own crate (librustc_ast_lowering) which is very self-contained (onlyfn lower_crateandtrait Resolverare exposed).r? @Mark-Simulacrum