pub fn should_emit_errors(self, mode: BorrowckMode) -> bool {
        match self {
            Origin::Ast => mode.use_ast(),
            Origin::Mir => mode.use_mir(),
        }
    }
/// Whether we should emit errors for the origin in the given mode
Whether we should emit errors for the origin in the given mode
Whether we should emit errors for the origin in the given mode
pub fn should_emit_errors(self, mode: BorrowckMode) -> bool {
        match self {
            Origin::Ast => mode.use_ast(),
            Origin::Mir => mode.use_mir(),
        }
    }
pub fn should_emit_errors ( self , mode : BorrowckMode ) -> bool { match self { Origin :: Ast => mode . use_ast ( ) , Origin :: Mir => mode . use_mir ( ) , } }
Whether we should emit errors for the origin in the given mode
Whether we should emit errors for the origin in the given mode
self
mode
BorrowckMode
self
mode
BorrowckMode