internal: don't expose impl details out of hir

This commit is contained in:
Aleksey Kladov 2021-08-29 18:55:25 +03:00
parent 76b60efbfb
commit cfa3f679e9
2 changed files with 5 additions and 5 deletions

View file

@ -410,7 +410,7 @@ pub enum LookupMode {
// This would be nicer if it just returned an iterator, but that runs into
// lifetime problems, because we need to borrow temp `CrateImplDefs`.
// FIXME add a context type here?
pub fn iterate_method_candidates<T>(
pub fn iterate_method_candidates<T>(
ty: &Canonical<Ty>,
db: &dyn HirDatabase,
env: Arc<TraitEnvironment>,