rust-analyzer/crates/rust-analyzer
Wilfred Hughes a50b7b6b4e fix: Avoid .unwrap() when running the discover command
Previously, the following configuration in settings.json:

    "rust-analyzer.workspace.discoverConfig": {
        "command": [
            "oops",
            "develop-json",
            "{arg}"
        ],
        "progressLabel": "rust-analyzer",
        "filesToWatch": [
            "BUCK",
            "TARGETS"
        ]
    },

Would previously cause a crash in rust-analyzer:

    thread 'LspServer' panicked at crates/rust-analyzer/src/main_loop.rs:776:84:
    called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }

Instead, use more specific panic messages.
2025-07-04 16:55:53 +01:00
..
src fix: Avoid .unwrap() when running the discover command 2025-07-04 16:55:53 +01:00
tests/slow-tests fix: Record macro calls for fields in ChildBySource impls 2025-06-06 07:34:42 +02:00
build.rs Enforce a current directory being set for spawned commands 2024-12-29 12:51:13 +01:00
Cargo.toml Don't run doctests 2025-06-23 00:50:22 +03:00