1
Fork 0

Always evaluate vecs of subdiagnostics eagerly

This commit is contained in:
mejrs 2022-12-04 01:13:21 +01:00
parent d6c4de0fb2
commit a7838d8bd7
6 changed files with 48 additions and 57 deletions

View file

@ -517,6 +517,6 @@ pub struct MismatchedStaticLifetime<'a> {
pub expl: Option<note_and_explain::RegionExplanation<'a>>,
#[subdiagnostic]
pub does_not_outlive_static_from_impl: DoesNotOutliveStaticFromImpl,
#[subdiagnostic(eager)]
#[subdiagnostic]
pub implicit_static_lifetimes: Vec<ImplicitStaticLifetimeSubdiag>,
}