mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
check_canceled does not return Result
This commit is contained in:
parent
dd45697e53
commit
fedd320cf2
5 changed files with 19 additions and 7 deletions
|
@ -54,7 +54,7 @@ salsa::query_group! {
|
|||
}
|
||||
|
||||
fn file_symbols(db: &impl SymbolsDatabase, file_id: FileId) -> Cancelable<Arc<SymbolIndex>> {
|
||||
db.check_canceled()?;
|
||||
db.check_canceled();
|
||||
let source_file = db.source_file(file_id);
|
||||
let mut symbols = source_file
|
||||
.syntax()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue