Port another diagnostic
This commit is contained in:
parent
cb8ea01096
commit
35dbec338a
3 changed files with 23 additions and 17 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue