pub(super) struct LowerHirPass<'a> {
pub(super) program: &'a Program,
}Expand description
Lower elaborated frontend AST into HIR.
This pass materializes HIR entities and side tables used by semantic checking and downstream lowering.
Input: elaborated frontend Program.
Output: HirProgram.
Pass name: hir.lower_program.
Fields§
§program: &'a ProgramElaborated program to lower.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for LowerHirPass<'a>
impl<'a> RefUnwindSafe for LowerHirPass<'a>
impl<'a> Send for LowerHirPass<'a>
impl<'a> Sync for LowerHirPass<'a>
impl<'a> Unpin for LowerHirPass<'a>
impl<'a> UnwindSafe for LowerHirPass<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more