Skip to content

Commit 96be3ff

Browse files
committed
Swallow unused assignment warning.
1 parent 641ffac commit 96be3ff

File tree

1 file changed

+2
-0
lines changed
  • src/tools/rust-analyzer/crates/test-fixture/src

1 file changed

+2
-0
lines changed

Diff for: src/tools/rust-analyzer/crates/test-fixture/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ impl ChangeFixture {
323323
}
324324
}
325325

326+
let _ = file_id;
327+
326328
let root = match current_source_root_kind {
327329
SourceRootKind::Local => SourceRoot::new_local(mem::take(&mut file_set)),
328330
SourceRootKind::Library => SourceRoot::new_library(mem::take(&mut file_set)),

0 commit comments

Comments
 (0)