hir_ty: introduce visible_from_module param into method resolution

This commit is contained in:
cynecx 2021-03-20 19:28:26 +01:00
parent b1b456c642
commit 34bb13e293
4 changed files with 40 additions and 4 deletions

View file

@ -849,6 +849,7 @@ impl<'a> InferenceContext<'a> {
self.trait_env.clone(),
krate,
&traits_in_scope,
self.resolver.module(),
method_name,
)
});