fix(rust_indexer): set corpus+lang on diagnostic (#5263)

* fix(rust_indexer): set corpus+lang on diagnostic

* fix: run rustfmt

* fix: address comments
3 files changed