diff options
| author | lcnr <rust@lcnr.de> | 2025-09-23 17:33:24 +0200 | 
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-09-26 16:33:15 +0200 | 
| commit | 148fd9ad3c434c26a952e01e37c35aa26cb8315c (patch) | |
| tree | ce2212f59abdb0e93ca76092ab1aaabd29d4cf8d /compiler/rustc_middle/src | |
| parent | 6b379b560df483307958f2a606a1dd514fff36ca (diff) | |
| download | rust-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.rs | 1 | 
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 | 
