forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translations(rustc_session): migrate 80% of the file parse.rs
This commit migrates around 80% of the parse file to use SsessionDiagnostic We still have to migrate struct_err and struct_warn.
- Loading branch information
Showing
5 changed files
with
55 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
incorrect_cgu_reuse_type = | ||
session_incorrect_cgu_reuse_type = | ||
CGU-reuse for `{$cgu_user_name}` is `{$actual_reuse}` but should be `{$at_least}``${expected_reuse}` | ||
|
||
cgu_not_recorded = | ||
CGU-reuse for `{$cgu_user_name}` is (mangled: `{$cgu_name}`) was not recorded` | ||
session_cgu_not_recorded = | ||
CGU-reuse for `{$cgu_user_name}` is (mangled: `{$cgu_name}`) was not recorded` | ||
|
||
session_feature_gate_error = {$explain} | ||
|
||
session_feature_diagnostic_for_issue = | ||
see issue #{$n} <https://github.com/rust-lang/rust/issues/{$n}> for more information | ||
|
||
session_feature_diagnostic_help = | ||
add `#![feature({$feature})]` to the crate attributes to enable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters