1
Fork 0

Fix some use items that import more than necessary.

This commit is contained in:
Nicholas Nethercote 2025-02-24 09:30:42 +11:00
parent 1eddb158f9
commit 4183c08511
3 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
use std::sync::Arc;
use rustc_middle::mir::*;
use rustc_middle::thir::{self, *};
use rustc_middle::thir::*;
use rustc_middle::ty::{self, Ty, TypeVisitableExt};
use crate::builder::Builder;
@ -134,7 +134,7 @@ impl<'tcx> MatchPairTree<'tcx> {
PatKind::Constant { value } => TestCase::Constant { value },
PatKind::AscribeUserType {
ascription: thir::Ascription { ref annotation, variance },
ascription: Ascription { ref annotation, variance },
ref subpattern,
..
} => {