Skip to content

Commit d1311f5

Browse files
committed
Swallow unused assignment warning.
1 parent a0f03bc commit d1311f5

File tree

1 file changed

+2
-0
lines changed
  • src/tools/rust-analyzer/crates/base-db/src

1 file changed

+2
-0
lines changed

src/tools/rust-analyzer/crates/base-db/src/fixture.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ impl ChangeFixture {
316316
}
317317
}
318318

319+
let _ = file_id;
320+
319321
let root = match current_source_root_kind {
320322
SourceRootKind::Local => SourceRoot::new_local(mem::take(&mut file_set)),
321323
SourceRootKind::Library => SourceRoot::new_library(mem::take(&mut file_set)),

0 commit comments

Comments
 (0)