mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 04:48:13 +00:00
Fix failing tests and fill-in missing details
This commit is contained in:
parent
d24e8c1d38
commit
4a8bc8db38
36 changed files with 917 additions and 1431 deletions
|
|
@ -14,7 +14,11 @@ use hir_expand::{
|
|||
mod_path::{ModPath, PathKind},
|
||||
name::Name,
|
||||
};
|
||||
use hir_ty::{db::HirDatabase, method_resolution, next_solver::{mapping::ChalkToNextSolver, DbInterner}};
|
||||
use hir_ty::{
|
||||
db::HirDatabase,
|
||||
method_resolution,
|
||||
next_solver::{DbInterner, mapping::ChalkToNextSolver},
|
||||
};
|
||||
|
||||
use crate::{
|
||||
Adt, AsAssocItem, AssocItem, BuiltinType, Const, ConstParam, DocLinkDef, Enum, ExternCrateDecl,
|
||||
|
|
@ -271,7 +275,11 @@ fn resolve_impl_trait_item<'db>(
|
|||
//
|
||||
// FIXME: resolve type aliases (which are not yielded by iterate_path_candidates)
|
||||
_ = method_resolution::iterate_path_candidates(
|
||||
&canonical.to_nextsolver(DbInterner::new_with(db, Some(environment.krate), environment.block)),
|
||||
&canonical.to_nextsolver(DbInterner::new_with(
|
||||
db,
|
||||
Some(environment.krate),
|
||||
environment.block,
|
||||
)),
|
||||
db,
|
||||
environment,
|
||||
&traits_in_scope,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue