mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Replace static_lifetime usages with error_lifetime, lower outlives goals
This commit is contained in:
parent
3691380c35
commit
0927f86247
15 changed files with 139 additions and 98 deletions
|
@ -3909,7 +3909,7 @@ impl Type {
|
|||
inner.derived(
|
||||
TyKind::Ref(
|
||||
if m.is_mut() { hir_ty::Mutability::Mut } else { hir_ty::Mutability::Not },
|
||||
hir_ty::static_lifetime(),
|
||||
hir_ty::error_lifetime(),
|
||||
inner.ty.clone(),
|
||||
)
|
||||
.intern(Interner),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue