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

Commit

Permalink
Adapt to rust-lang/rust#0ed9c64c3e
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Jul 14, 2022
1 parent ece09b8 commit ac4648b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rls-rustc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ struct ShimCalls {

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

#[cfg(feature = "clippy")]
match self.clippy_preference {
Expand Down
2 changes: 1 addition & 1 deletion rls/src/build/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ impl rustc_driver::Callbacks for RlsRustcCalls {
// This also prevents the compiler from dropping expanded AST, which we
// still need in the `after_analysis` callback in order to process and
// pass the computed analysis in-memory.
config.opts.debugging_opts.save_analysis = true;
config.opts.unstable_opts.save_analysis = true;

#[cfg(feature = "clippy")]
{
Expand Down

0 comments on commit ac4648b

Please sign in to comment.