Adapt to rust-lang/rust#0ed9c64c3e

This commit is contained in:
Igor Matuszewski 2022-07-14 16:58:03 +02:00
parent ece09b88c0
commit ac4648b651
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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")]
{