mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 20:48:11 +00:00
Fixes #7802. If a document-symbol or formatting request refers to an unknown Carbon file, return an LSP `InvalidParams` error instead of leaving the client waiting. This aligns both handlers with existing behavior for position-based requests. --------- Co-authored-by: kg290 <210736705+kg290@users.noreply.github.com>