Resolve rebase

This commit is contained in:
Nikita Tomashevich 2023-01-21 20:55:37 +03:00 committed by IQuant
parent 35dbec338a
commit 8d590dc303
4 changed files with 2 additions and 40 deletions

View file

@ -971,16 +971,6 @@ pub struct LfBoundNotSatisfied<'a> {
pub notes: Vec<note_and_explain::RegionExplanation<'a>>,
}
#[derive(Diagnostic)]
#[diag(infer_borrowed_too_long, code = "E0490")]
pub struct BorrowedTooLong<'a> {
#[primary_span]
pub span: Span,
pub ty: Ty<'a>,
#[subdiagnostic]
pub notes: Vec<note_and_explain::RegionExplanation<'a>>,
}
#[derive(Diagnostic)]
#[diag(infer_ref_longer_than_data, code = "E0491")]
pub struct RefLongerThanData<'a> {