1
Fork 0

Move ReverseMapper logic onto OpaqueHiddenType

This commit is contained in:
Oli Scherer 2022-09-27 11:37:10 +00:00
parent d643ae1bbf
commit 9eb69e82e0
5 changed files with 247 additions and 233 deletions

View file

@ -52,15 +52,6 @@ pub(crate) struct VarNeedNotMut {
#[suggestion_short(applicability = "machine-applicable", code = "")]
pub span: Span,
}
#[derive(Diagnostic)]
#[diag(borrowck::const_not_used_in_type_alias)]
pub(crate) struct ConstNotUsedTraitAlias {
pub ct: String,
#[primary_span]
pub span: Span,
}
#[derive(Diagnostic)]
#[diag(borrowck::var_cannot_escape_closure)]
#[note]