Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 88a58d1

Browse files
committed
Update to latest Cargo
1 parent 5a1f151 commit 88a58d1

File tree

3 files changed

+60
-34
lines changed

3 files changed

+60
-34
lines changed

Cargo.lock

Lines changed: 56 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ rls-vfs = "0.8"
3030
rls-ipc = { version = "0.1.0", path = "rls-ipc", optional = true }
3131

3232
anyhow = "1.0.26"
33-
cargo = { git = "https://github.com/rust-lang/cargo", rev = "43cf77395cad5b79887b20b7cf19d418bbd703a9" }
33+
cargo = { git = "https://github.com/rust-lang/cargo", rev = "329895f5b52a358e5d9ecb26215708b5cb31d906" }
3434
cargo_metadata = "0.8"
3535
clippy_lints = { git = "https://github.com/rust-lang/rust-clippy", rev = "7ea7cd165ad6705603852771bf82cc2fd6560db5", optional = true }
3636
env_logger = "0.7"

rls/src/project_model.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ impl ProjectModel {
9191
edition: match cargo_pkg.manifest().edition() {
9292
cargo::core::Edition::Edition2015 => racer::Edition::Ed2015,
9393
cargo::core::Edition::Edition2018 => racer::Edition::Ed2018,
94+
// FIXME: Use Racer's Ed2021 once
95+
// https://github.com/racer-rust/racer/pull/1152 is published.
96+
cargo::core::Edition::Edition2021 => racer::Edition::Ed2018,
9497
},
9598
});
9699
manifest_to_id.insert(manifest, pkg);

0 commit comments

Comments
 (0)