Uplift push_outlives_components
This commit is contained in:
parent
3bec61736a
commit
23c6f23b21
12 changed files with 386 additions and 300 deletions
|
@ -54,6 +54,13 @@ pub struct Expr<'tcx> {
|
|||
pub kind: ExprKind,
|
||||
args: ty::GenericArgsRef<'tcx>,
|
||||
}
|
||||
|
||||
impl<'tcx> rustc_type_ir::inherent::ExprConst<TyCtxt<'tcx>> for Expr<'tcx> {
|
||||
fn args(self) -> ty::GenericArgsRef<'tcx> {
|
||||
self.args
|
||||
}
|
||||
}
|
||||
|
||||
impl<'tcx> Expr<'tcx> {
|
||||
pub fn new_binop(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue