mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
internal: don't expose impl details out of hir
This commit is contained in:
parent
76b60efbfb
commit
cfa3f679e9
2 changed files with 5 additions and 5 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue