diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e753514a..ffcacf04 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2022-01-14" +channel = "nightly-2022-04-06" components = ["rust-src", "rustc-dev"] diff --git a/src/racer/ast.rs b/src/racer/ast.rs index 11872af4..5c9ccb21 100644 --- a/src/racer/ast.rs +++ b/src/racer/ast.rs @@ -30,6 +30,12 @@ impl Emitter for DummyEmitter { fn should_show_explain(&self) -> bool { false } + fn fluent_bundle(&self) -> Option<&Lrc> { + None + } + fn fallback_fluent_bundle(&self) -> &Lrc { + unimplemented!("diagnostic translations are unimplemented in racer"); + } } /// construct parser from string