2c77f3e9c5
This commit migrates the errors in the function check_expected_reuse to use the new SessionDiagnostic. It also does some small refactor for the IncorrectCguReuseType to include the 'at least' word in the fluent translation file
17 lines
572 B
Plaintext
17 lines
572 B
Plaintext
session_incorrect_cgu_reuse_type =
|
|
CGU-reuse for `{$cgu_user_name}` is `{$actual_reuse}` but should be {$at_least ->
|
|
[one] {"at least "}
|
|
*[other] {""}
|
|
}`{$expected_reuse}`
|
|
|
|
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
|