diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-02 16:52:55 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-07 09:50:51 +1100 |
| commit | afbff05c84c8c22909be929d20d6075f53d51e12 (patch) | |
| tree | ca3f58ffcd4001ee919d4b4c00af515058957f6c | |
| parent | e80096747853fc5a0c8a98e8532c2f74ba770aa2 (diff) | |
| download | rust-afbff05c84c8c22909be929d20d6075f53d51e12.tar.gz rust-afbff05c84c8c22909be929d20d6075f53d51e12.zip | |
Move a `use` statement so it's with the other `use` statements.
| -rw-r--r-- | compiler/rustc_infer/src/infer/opaque_types/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_infer/src/infer/opaque_types/mod.rs b/compiler/rustc_infer/src/infer/opaque_types/mod.rs index 0c5eca6ebdf..d3afabdb7da 100644 --- a/compiler/rustc_infer/src/infer/opaque_types/mod.rs +++ b/compiler/rustc_infer/src/infer/opaque_types/mod.rs @@ -13,6 +13,7 @@ use rustc_middle::ty::{ use rustc_span::Span; use tracing::{debug, instrument}; +use super::DefineOpaqueTypes; use crate::errors::OpaqueHiddenTypeDiag; use crate::infer::{InferCtxt, InferOk}; use crate::traits::{self, Obligation}; @@ -22,8 +23,6 @@ mod table; pub(crate) type OpaqueTypeMap<'tcx> = FxIndexMap<OpaqueTypeKey<'tcx>, OpaqueTypeDecl<'tcx>>; pub(crate) use table::{OpaqueTypeStorage, OpaqueTypeTable}; -use super::DefineOpaqueTypes; - /// Information about the opaque types whose values we /// are inferring in this function (these are the `impl Trait` that /// appear in the return type). |
