Slightly refactor the dumping of HIR analysis data
This commit is contained in:
parent
cb8a7ea0ed
commit
bc12972bcd
13 changed files with 92 additions and 104 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue