diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-03 10:11:54 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-04 08:34:11 +1100 |
| commit | 6606bb35a97ebe14dab0ad51e234a3cd3c91fece (patch) | |
| tree | 6d4f27adb6665babfeadd79b7426915258390211 | |
| parent | bd6eb05ccd3eaff622992255144a55ddbaf328e2 (diff) | |
| download | rust-6606bb35a97ebe14dab0ad51e234a3cd3c91fece.tar.gz rust-6606bb35a97ebe14dab0ad51e234a3cd3c91fece.zip | |
Fix an inconsistent import.
| -rw-r--r-- | compiler/rustc_middle/src/thir/visit.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_middle/src/thir/visit.rs b/compiler/rustc_middle/src/thir/visit.rs index 2aeb13942a3..13b8af55e51 100644 --- a/compiler/rustc_middle/src/thir/visit.rs +++ b/compiler/rustc_middle/src/thir/visit.rs @@ -1,8 +1,7 @@ use super::{ - AdtExpr, Arm, Block, ClosureExpr, Expr, ExprKind, InlineAsmExpr, InlineAsmOperand, Pat, - PatKind, Stmt, StmtKind, Thir, + AdtExpr, AdtExprBase, Arm, Block, ClosureExpr, Expr, ExprKind, InlineAsmExpr, InlineAsmOperand, + Pat, PatKind, Stmt, StmtKind, Thir, }; -use crate::thir::AdtExprBase; pub trait Visitor<'thir, 'tcx: 'thir>: Sized { fn thir(&self) -> &'thir Thir<'tcx>; |
