rustc: Remove needless lifetimes
This commit is contained in:
parent
65bd2a6a73
commit
3dde32ca97
109 changed files with 266 additions and 320 deletions
|
@ -129,7 +129,7 @@ impl<'tcx> Visitor<'tcx> for DeduceReadOnly {
|
|||
}
|
||||
|
||||
/// Returns true if values of a given type will never be passed indirectly, regardless of ABI.
|
||||
fn type_will_always_be_passed_directly<'tcx>(ty: Ty<'tcx>) -> bool {
|
||||
fn type_will_always_be_passed_directly(ty: Ty<'_>) -> bool {
|
||||
matches!(
|
||||
ty.kind(),
|
||||
ty::Bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue