rustc: Remove needless lifetimes
This commit is contained in:
parent
65bd2a6a73
commit
3dde32ca97
109 changed files with 266 additions and 320 deletions
|
@ -1248,7 +1248,7 @@ pub fn needs_drop_components<'tcx>(
|
|||
}
|
||||
}
|
||||
|
||||
pub fn is_trivially_const_drop<'tcx>(ty: Ty<'tcx>) -> bool {
|
||||
pub fn is_trivially_const_drop(ty: Ty<'_>) -> bool {
|
||||
match *ty.kind() {
|
||||
ty::Bool
|
||||
| ty::Char
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue