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

Commit ac4648b

Browse files
committed
Adapt to rust-lang/rust#0ed9c64c3e
1 parent ece09b8 commit ac4648b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rls-rustc/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ struct ShimCalls {
9191

9292
impl Callbacks for ShimCalls {
9393
fn config(&mut self, config: &mut interface::Config) {
94-
config.opts.debugging_opts.save_analysis = true;
94+
config.opts.unstable_opts.save_analysis = true;
9595

9696
#[cfg(feature = "clippy")]
9797
match self.clippy_preference {

rls/src/build/rustc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ impl rustc_driver::Callbacks for RlsRustcCalls {
220220
// This also prevents the compiler from dropping expanded AST, which we
221221
// still need in the `after_analysis` callback in order to process and
222222
// pass the computed analysis in-memory.
223-
config.opts.debugging_opts.save_analysis = true;
223+
config.opts.unstable_opts.save_analysis = true;
224224

225225
#[cfg(feature = "clippy")]
226226
{

0 commit comments

Comments
 (0)