Commit 1bbff7f
committed
fix(my-lsp): handle CheckError::ResourceViolation (restore workspace build)
PR #127 added the `CheckError::ResourceViolation` variant but missed the
exhaustive `match` in `my-lsp::extract_error_location`, so `my-lsp` failed to
compile in a full `cargo --workspace` build (error[E0004], non-exhaustive
patterns). `cargo test -p my-lang`/`-p my-qtt` didn't catch it because they
never build my-lsp.
This is the true root cause of the `llvm-cov` "no profraw files" failure: the
coverage job runs `cargo llvm-cov --no-report --workspace --exclude my-llvm`,
which couldn't build my-lsp, so no tests ran and no profraw data was produced —
surfacing only as the downstream report-step error. Adding the missing arm
restores the workspace build; `cargo test --workspace --exclude my-llvm` is
green again.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BwV2DWsjkBiNP3oscimMLV1 parent 28bcf8c commit 1bbff7f
2 files changed
Lines changed: 1 addition & 10 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments