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

Commit d4e2bd7

Browse files
Adjust for upstream changes
1 parent db6a9e0 commit d4e2bd7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

rls-rustc/src/lib.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ pub fn run() -> Result<(), ()> {
7575
};
7676

7777
rustc_driver::install_ice_hook();
78-
rustc_driver::catch_fatal_errors(|| run_compiler(&args, &mut shim_calls, file_loader, None))
79-
.map(|_| ())
80-
.map_err(|_| ())
78+
rustc_driver::catch_fatal_errors(|| {
79+
run_compiler(&args, &mut shim_calls, file_loader, None, None)
80+
})
81+
.map(|_| ())
82+
.map_err(|_| ())
8183
}
8284

8385
#[derive(Default)]

rls/src/build/rustc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ fn run_in_process(
191191
&mut callbacks,
192192
Some(Box::new(ReplacedFileLoader::new(changed))),
193193
Some(Box::new(BufWriter(stderr))),
194+
None,
194195
)
195196
})
196197
}

0 commit comments

Comments
 (0)