about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/traits/solve/inspect.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-05-07 11:09:21 -0400
committerMichael Goulet <michael@errs.io>2024-05-13 23:58:33 -0400
commitdbd2ca6478dca81dc4ed64f9dec09fb216d34f1a (patch)
tree1e69b1a123de5dddc79edcd512c89956b13f5016 /compiler/rustc_middle/src/traits/solve/inspect.rs
parent9105c57b7f6623310e33f3ee7e48a3114e5190a7 (diff)
downloadrust-dbd2ca6478dca81dc4ed64f9dec09fb216d34f1a.tar.gz
rust-dbd2ca6478dca81dc4ed64f9dec09fb216d34f1a.zip
Use a proper probe for shadowing impl
Diffstat (limited to 'compiler/rustc_middle/src/traits/solve/inspect.rs')
-rw-r--r--compiler/rustc_middle/src/traits/solve/inspect.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/traits/solve/inspect.rs b/compiler/rustc_middle/src/traits/solve/inspect.rs
index 2ddcb8aab25..9e944899026 100644
--- a/compiler/rustc_middle/src/traits/solve/inspect.rs
+++ b/compiler/rustc_middle/src/traits/solve/inspect.rs
@@ -153,6 +153,8 @@ pub enum ProbeKind<'tcx> {
     /// do a probe to find out what projection type(s) may be used to prove that
     /// the source type upholds all of the target type's object bounds.
     UpcastProjectionCompatibility,
+    /// Looking for param-env candidates that satisfy the trait ref for a projection.
+    ShadowedEnvProbing,
     /// Try to unify an opaque type with an existing key in the storage.
     OpaqueTypeStorageLookup { result: QueryResult<'tcx> },
 }