about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/vtable.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2024-01-11 13:02:50 +0100
committerlcnr <rust@lcnr.de>2024-03-14 17:19:40 +0100
commit24a1729566f21f0df2cc258f61adddd6be7c40b3 (patch)
tree5440e3a84c6303c51e3dde560b32d03a87613174 /compiler/rustc_trait_selection/src/traits/vtable.rs
parentc2fbe404d21572a04dabc6a0e23eb3ab367832ad (diff)
downloadrust-24a1729566f21f0df2cc258f61adddd6be7c40b3.tar.gz
rust-24a1729566f21f0df2cc258f61adddd6be7c40b3.zip
eagerly instantiate binders to avoid relying on `sub`
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits/vtable.rs')
-rw-r--r--compiler/rustc_trait_selection/src/traits/vtable.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/vtable.rs b/compiler/rustc_trait_selection/src/traits/vtable.rs
index 3c0316fce17..46a68508753 100644
--- a/compiler/rustc_trait_selection/src/traits/vtable.rs
+++ b/compiler/rustc_trait_selection/src/traits/vtable.rs
@@ -320,6 +320,7 @@ fn vtable_entries<'tcx>(
 }
 
 /// Find slot base for trait methods within vtable entries of another trait
+// FIXME(@lcnr): This isn't a query, so why does it take a tuple as its argument.
 pub(super) fn vtable_trait_first_method_offset<'tcx>(
     tcx: TyCtxt<'tcx>,
     key: (