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

Commit 6d72813

Browse files
author
Nick Cameron
committed
Update rls-rustc and code to match rustc (0.130.2)
1 parent 0c1456b commit 6d72813

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cargo-features = ["edition"]
22

33
[package]
44
name = "rls"
5-
version = "0.130.1"
5+
version = "0.130.2"
66
edition = "2018"
77
authors = ["Nick Cameron <ncameron@mozilla.com>", "The RLS developers"]
88
description = "Rust Language Server - provides information about Rust programs to IDEs and other tools"
@@ -29,7 +29,7 @@ rayon = "1"
2929
rls-analysis = "0.14"
3030
rls-blacklist = "0.1.2"
3131
rls-data = { version = "0.16", features = ["serialize-serde"] }
32-
rls-rustc = "0.4.0"
32+
rls-rustc = "0.5.0"
3333
rls-span = { version = "0.4", features = ["serialize-serde"] }
3434
rls-vfs = "0.4.6"
3535
rustfmt-nightly = "0.99.1"

src/build/rustc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010
use getopts;
11-
use rustc::middle::cstore::CrateStore;
11+
use rustc_metadata::cstore::CStore;
1212
use rustc::session::Session;
1313
use rustc::session::config::{self, ErrorOutputType, Input};
1414
use rustc_driver::{run, run_compiler, Compilation, CompilerCalls, RustcDefaultCalls};
@@ -211,7 +211,7 @@ impl<'a> CompilerCalls<'a> for RlsRustcCalls {
211211
codegen_backend: &dyn CodegenBackend,
212212
matches: &getopts::Matches,
213213
sess: &Session,
214-
cstore: &dyn CrateStore,
214+
cstore: &CStore,
215215
input: &Input,
216216
odir: &Option<PathBuf>,
217217
ofile: &Option<PathBuf>,

0 commit comments

Comments
 (0)