Don't attempt to compute layout of type referencing error
This commit is contained in:
@@ -132,6 +132,9 @@ pub enum LayoutError<'tcx> {
|
||||
|
||||
#[diag(middle_cycle)]
|
||||
Cycle,
|
||||
|
||||
#[diag(middle_layout_references_error)]
|
||||
ReferencesError,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
|
||||
Reference in New Issue
Block a user