Introduce AnonymousLifetimeRib::Elided and use it for implied 'static.

This commit is contained in:
Camille GILLOT 2022-04-18 17:51:39 +02:00
parent a7468c60f8
commit bfd0435fd7
2 changed files with 29 additions and 3 deletions

View file

@ -713,7 +713,7 @@ impl<Id> Res<Id> {
}
/// Resolution for a lifetime appearing in a type.
#[derive(Copy, Clone, Debug)]
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum LifetimeRes {
/// Successfully linked the lifetime to a generic parameter.
Param {