mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
remove Cancelable from source binders
This commit is contained in:
parent
a36b2cf377
commit
11f3c8afb2
16 changed files with 68 additions and 90 deletions
|
@ -72,7 +72,7 @@ pub(crate) fn type_of(db: &RootDatabase, frange: FileRange) -> Cancelable<Option
|
|||
db,
|
||||
frange.file_id,
|
||||
parent_fn
|
||||
)?);
|
||||
));
|
||||
let infer = function.infer(db)?;
|
||||
let syntax_mapping = function.body_syntax_mapping(db)?;
|
||||
if let Some(expr) = ast::Expr::cast(node).and_then(|e| syntax_mapping.node_expr(e)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue