Update asm-lsp/lsp.rs

Co-authored-by: Will Lillis <will.lillis24@gmail.com>
This commit is contained in:
surma-lodur 2025-04-22 18:19:06 +02:00 committed by GitHub
parent 1215c40531
commit 52916396d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -674,7 +674,6 @@ fn get_diagnostics(diagnostics: &mut Vec<Diagnostic>, tool_output: &str) {
LazyLock::new(|| Regex::new(r"^.*:(\d+):(\d+):\s+(.*)$").unwrap());
static DIAG_REG_LINE_ONLY: LazyLock<Regex> =
LazyLock::new(|| Regex::new(r"^.*:(\d+):\s+(.*)$").unwrap());
static ALT_DIAG_REG_LINE_ONLY: LazyLock<Regex> =
LazyLock::new(|| Regex::new(r"^.*\((\d+)\):\s+(.*)$").unwrap());