Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b56f2c

Browse files
authored
Merge pull request#1180 from pietroalbini/pa-fluent
Fx breakage caused by the introduction of diagnostic translations
2 parentsa3bb9c9 +a8cdf50 commit6b56f2c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

‎rust-toolchain.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel ="nightly-2022-01-14"
2+
channel ="nightly-2022-04-06"
33
components = ["rust-src","rustc-dev"]

‎src/racer/ast.rs‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ impl Emitter for DummyEmitter {
3030
fnshould_show_explain(&self) ->bool{
3131
false
3232
}
33+
fnfluent_bundle(&self) ->Option<&Lrc<rustc_errors::FluentBundle>>{
34+
None
35+
}
36+
fnfallback_fluent_bundle(&self) ->&Lrc<rustc_errors::FluentBundle>{
37+
unimplemented!("diagnostic translations are unimplemented in racer");
38+
}
3339
}
3440

3541
/// construct parser from string

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp