remove Cancelable from funciton body
This commit is contained in:
@@ -64,7 +64,7 @@ pub(crate) fn reference_definition(
|
||||
.and_then(ast::MethodCallExpr::cast)
|
||||
{
|
||||
let infer_result = function.infer(db)?;
|
||||
let syntax_mapping = function.body_syntax_mapping(db)?;
|
||||
let syntax_mapping = function.body_syntax_mapping(db);
|
||||
let expr = ast::Expr::cast(method_call.syntax()).unwrap();
|
||||
if let Some(def_id) = syntax_mapping
|
||||
.node_expr(expr)
|
||||
|
||||
Reference in New Issue
Block a user