Inline & delete Ty::new_unit, since it's just a field access
This commit is contained in:
@@ -984,7 +984,7 @@ fn get_rust_try_fn<'ll, 'tcx>(
|
||||
tcx,
|
||||
ty::Binder::dummy(tcx.mk_fn_sig(
|
||||
[i8p],
|
||||
Ty::new_unit(tcx),
|
||||
tcx.types.unit,
|
||||
false,
|
||||
hir::Unsafety::Unsafe,
|
||||
Abi::Rust,
|
||||
@@ -995,7 +995,7 @@ fn get_rust_try_fn<'ll, 'tcx>(
|
||||
tcx,
|
||||
ty::Binder::dummy(tcx.mk_fn_sig(
|
||||
[i8p, i8p],
|
||||
Ty::new_unit(tcx),
|
||||
tcx.types.unit,
|
||||
false,
|
||||
hir::Unsafety::Unsafe,
|
||||
Abi::Rust,
|
||||
|
||||
Reference in New Issue
Block a user