rustc: Remove needless lifetimes
This commit is contained in:
parent
65bd2a6a73
commit
3dde32ca97
109 changed files with 266 additions and 320 deletions
|
@ -839,7 +839,7 @@ fn convert_variant(
|
|||
)
|
||||
}
|
||||
|
||||
fn adt_def<'tcx>(tcx: TyCtxt<'tcx>, def_id: DefId) -> ty::AdtDef<'tcx> {
|
||||
fn adt_def(tcx: TyCtxt<'_>, def_id: DefId) -> ty::AdtDef<'_> {
|
||||
use rustc_hir::*;
|
||||
|
||||
let def_id = def_id.expect_local();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue