1
Fork 0

Slightly refactor the dumping of HIR analysis data

This commit is contained in:
León Orell Valerian Liehr 2024-06-19 13:11:18 +02:00
parent cb8a7ea0ed
commit bc12972bcd
No known key found for this signature in database
GPG key ID: D17A07215F68E713
13 changed files with 92 additions and 104 deletions

View file

@ -682,7 +682,7 @@ pub(crate) enum CannotCaptureLateBound {
pub(crate) struct VariancesOf {
#[primary_span]
pub span: Span,
pub variances_of: String,
pub variances: String,
}
#[derive(Diagnostic)]
@ -690,7 +690,7 @@ pub(crate) struct VariancesOf {
pub(crate) struct TypeOf<'tcx> {
#[primary_span]
pub span: Span,
pub type_of: Ty<'tcx>,
pub ty: Ty<'tcx>,
}
#[derive(Diagnostic)]