Don't attempt to compute layout of type referencing error

This commit is contained in:
Michael Goulet
2023-07-16 23:26:02 +00:00
parent 9339f446a5
commit 37076c9b4e
8 changed files with 47 additions and 13 deletions

View File

@@ -132,6 +132,9 @@ pub enum LayoutError<'tcx> {
#[diag(middle_cycle)]
Cycle,
#[diag(middle_layout_references_error)]
ReferencesError,
}
#[derive(Diagnostic)]