1
Fork 0

Port another diagnostic

This commit is contained in:
Nikita Tomashevich 2023-01-21 19:45:45 +03:00 committed by IQuant
parent cb8ea01096
commit 35dbec338a
3 changed files with 23 additions and 17 deletions

View file

@ -127,6 +127,8 @@ pub enum PrefixKind {
SourcePointerValidFor,
TypeSatisfy,
TypeOutlive,
LfParamInstantiatedWith,
LfParamMustOutlive,
LfInstantiatedWith,
LfMustOutlive,
TypeValidFor,
@ -151,6 +153,8 @@ impl IntoDiagnosticArg for PrefixKind {
Self::SourcePointerValidFor => "source_pointer_valid_for",
Self::TypeSatisfy => "type_satisfy",
Self::TypeOutlive => "type_outlive",
Self::LfParamInstantiatedWith => "lf_param_instantiated_with",
Self::LfParamMustOutlive => "lf_param_must_outlive",
Self::LfInstantiatedWith => "lf_instantiated_with",
Self::LfMustOutlive => "lf_must_outlive",
Self::TypeValidFor => "type_valid_for",