mirror of https://github.com/rust-lang/rls
Adapt to rust-lang/rust#0ed9c64c3e
This commit is contained in:
parent
ece09b88c0
commit
ac4648b651
|
@ -91,7 +91,7 @@ struct ShimCalls {
|
||||||
|
|
||||||
impl Callbacks for ShimCalls {
|
impl Callbacks for ShimCalls {
|
||||||
fn config(&mut self, config: &mut interface::Config) {
|
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")]
|
#[cfg(feature = "clippy")]
|
||||||
match self.clippy_preference {
|
match self.clippy_preference {
|
||||||
|
|
|
@ -220,7 +220,7 @@ impl rustc_driver::Callbacks for RlsRustcCalls {
|
||||||
// This also prevents the compiler from dropping expanded AST, which we
|
// This also prevents the compiler from dropping expanded AST, which we
|
||||||
// still need in the `after_analysis` callback in order to process and
|
// still need in the `after_analysis` callback in order to process and
|
||||||
// pass the computed analysis in-memory.
|
// pass the computed analysis in-memory.
|
||||||
config.opts.debugging_opts.save_analysis = true;
|
config.opts.unstable_opts.save_analysis = true;
|
||||||
|
|
||||||
#[cfg(feature = "clippy")]
|
#[cfg(feature = "clippy")]
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue