rust-analyzer/crates/project_model
Alex Macleod a6eeb75120 Use workspace cargo to fetch rust source's metadata
Previously the detected cargo is the global one, as it uses the
directory of the rust source which doesn't pick up the local override

This fixes the case in clippy where the local rust toolchain is a recent
nightly that has a 2021 edition Cargo.toml. The global (stable) cargo
returns an error attempting to parse it

Fixes #10445
2021-10-14 16:20:11 +01:00
..
src Use workspace cargo to fetch rust source's metadata 2021-10-14 16:20:11 +01:00
test_data Rust project project model smoke tests 2021-08-01 15:00:34 -07:00
Cargo.toml internal: update expect 2021-10-09 17:17:16 +03:00