rustc: Remove needless lifetimes
This commit is contained in:
parent
65bd2a6a73
commit
3dde32ca97
109 changed files with 266 additions and 320 deletions
|
@ -111,7 +111,7 @@ macro_rules! return_if_di_node_created_in_meantime {
|
|||
|
||||
/// Extract size and alignment from a TyAndLayout.
|
||||
#[inline]
|
||||
fn size_and_align_of<'tcx>(ty_and_layout: TyAndLayout<'tcx>) -> (Size, Align) {
|
||||
fn size_and_align_of(ty_and_layout: TyAndLayout<'_>) -> (Size, Align) {
|
||||
(ty_and_layout.size, ty_and_layout.align.abi)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue