10000 rustup https://github.com/rust-lang/rust/pull/62679/ · matthiaskrgr/rls@50454db · GitHub
[go: up one dir, main page]

Skip to content

Commit 50454db

Browse files
committed
1 parent 8a31087 commit 50454db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rls/src/build/rustc.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,18 +155,18 @@ impl rustc_driver::Callbacks for RlsRustcCalls {
155155
config.opts.debugging_opts.save_analysis = true;
156156
}
157157

158-
fn after_parsing(&mut self, _compiler: &interface::Compiler) -> bool {
158+
fn after_parsing(&mut self, _compiler: &interface::Compiler) -> rustc_driver::Compilation {
159159
#[cfg(feature = "clippy")]
160160
{
161161
if self.clippy_preference != ClippyPreference::Off {
162162
clippy_after_parse_callback(_compiler);
163163
}
164164
}
165165
// Continue execution
166-
true
166+
rustc_driver::Compilation::Continue
167167
}
168168

169-
fn after_analysis(&mut self, compiler: &interface::Compiler) -> bool {
169+
fn after_analysis(&mut self, compiler: &interface::Compiler) -> rustc_driver::Compilation {
170170
let sess = compiler.session();
171171
let input = compiler.input();
172172
let crate_name = compiler.crate_name().unwrap().peek().clone();
@@ -228,7 +228,7 @@ impl rustc_driver::Callbacks for RlsRustcCalls {
228228
);
229229
});
230230

231-
true
231+
rustc_driver::Compilation::Continue
232232
}
233233
}
234234

0 commit comments

Comments
 (0)
0