mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-17 18:57:04 +00:00
Implement next trait solver
This commit is contained in:
parent
44bdfdf768
commit
9418a3f2df
109 changed files with 19148 additions and 1317 deletions
|
|
@ -10,6 +10,7 @@ use hir::{
|
|||
};
|
||||
use ide_db::{
|
||||
RootDatabase,
|
||||
base_db::salsa,
|
||||
defs::Definition,
|
||||
documentation::{DocsRangeMap, HasDocs},
|
||||
famous_defs::FamousDefs,
|
||||
|
|
@ -44,7 +45,7 @@ pub(super) fn type_info_of(
|
|||
Either::Left(expr) => sema.type_of_expr(expr)?,
|
||||
Either::Right(pat) => sema.type_of_pat(pat)?,
|
||||
};
|
||||
type_info(sema, _config, ty_info, edition, display_target)
|
||||
salsa::attach(sema.db, || type_info(sema, _config, ty_info, edition, display_target))
|
||||
}
|
||||
|
||||
pub(super) fn closure_expr(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue