about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-09-23 17:33:24 +0200
committerlcnr <rust@lcnr.de>2025-09-26 16:33:15 +0200
commit148fd9ad3c434c26a952e01e37c35aa26cb8315c (patch)
treece2212f59abdb0e93ca76092ab1aaabd29d4cf8d /compiler/rustc_middle/src
parent6b379b560df483307958f2a606a1dd514fff36ca (diff)
downloadrust-148fd9ad3c434c26a952e01e37c35aa26cb8315c.tar.gz
rust-148fd9ad3c434c26a952e01e37c35aa26cb8315c.zip
allow method calls on opaques
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/traits/query.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/traits/query.rs b/compiler/rustc_middle/src/traits/query.rs
index c1b7c9b9b4e..c5cd7c54e4e 100644
--- a/compiler/rustc_middle/src/traits/query.rs
+++ b/compiler/rustc_middle/src/traits/query.rs
@@ -154,6 +154,7 @@ impl<'tcx> FromIterator<DropckConstraint<'tcx>> for DropckConstraint<'tcx> {
 #[derive(Debug, HashStable)]
 pub struct CandidateStep<'tcx> {
     pub self_ty: Canonical<'tcx, QueryResponse<'tcx, Ty<'tcx>>>,
+    pub self_ty_is_opaque: bool,
     pub autoderefs: usize,
     /// `true` if the type results from a dereference of a raw pointer.
     /// when assembling candidates, we include these steps, but not when