about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-07-31 13:19:54 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-07-31 15:17:20 +1000
commitcf95e45ec6907c21b642e1b33d1d363221b50c23 (patch)
tree9e67a792c0adc55aa3d2c42dde2eb10d3f4d9fb7 /compiler/rustc_middle/src
parent0b3c980c241ccbd0c1b8b90f4f7b62e618bd3f93 (diff)
downloadrust-cf95e45ec6907c21b642e1b33d1d363221b50c23.tar.gz
rust-cf95e45ec6907c21b642e1b33d1d363221b50c23.zip
Move `InferVarInfo` out of `rustc_middle`.
It's only used in `rustc_hir_typeck`.
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/ty/mod.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/compiler/rustc_middle/src/ty/mod.rs b/compiler/rustc_middle/src/ty/mod.rs
index 36d57c89ddb..acafbf26513 100644
--- a/compiler/rustc_middle/src/ty/mod.rs
+++ b/compiler/rustc_middle/src/ty/mod.rs
@@ -2232,19 +2232,6 @@ impl<'tcx> fmt::Debug for SymbolName<'tcx> {
     }
 }
 
-#[derive(Debug, Default, Copy, Clone)]
-pub struct InferVarInfo {
-    /// This is true if we identified that this Ty (`?T`) is found in a `?T: Foo`
-    /// obligation, where:
-    ///
-    ///  * `Foo` is not `Sized`
-    ///  * `(): Foo` may be satisfied
-    pub self_in_trait: bool,
-    /// This is true if we identified that this Ty (`?T`) is found in a `<_ as
-    /// _>::AssocType = ?T`
-    pub output: bool,
-}
-
 /// The constituent parts of a type level constant of kind ADT or array.
 #[derive(Copy, Clone, Debug, HashStable)]
 pub struct DestructuredConst<'tcx> {