-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #100595 - matthiaskrgr:rollup-f1zur58, r=matthiaskrgr
Rollup of 10 pull requests Successful merges: - #100031 (improve "try ignoring the field" diagnostic) - #100325 (Rustdoc-Json: Don't remove impls for items imported from private modules) - #100377 (Replace - with _ in fluent slugs to improve developer workflows) - #100458 (Adjust span of fn argument declaration) - #100514 (Delay span bug when failing to normalize negative coherence impl subject due to other malformed impls) - #100528 (Support 1st group of RISC-V Bitmanip backend target features) - #100559 (Parser simplifications) - #100568 (Fix STD build for ESP-IDF) - #100582 ([rustdoc] Fix handling of stripped enum variant in JSON output format) - #100586 (Reland changes replacing num_cpus with available_parallelism ) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
57 changed files
with
841 additions
and
644 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
borrowck-move-unsized = | ||
borrowck_move_unsized = | ||
cannot move a value of type `{$ty}` | ||
.label = the size of `{$ty}` cannot be statically determined | ||
borrowck-higher-ranked-lifetime-error = | ||
borrowck_higher_ranked_lifetime_error = | ||
higher-ranked lifetime error | ||
borrowck-could-not-prove = | ||
borrowck_could_not_prove = | ||
could not prove `{$predicate}` | ||
borrowck-could-not-normalize = | ||
borrowck_could_not_normalize = | ||
could not normalize `{$value}` | ||
borrowck-higher-ranked-subtype-error = | ||
borrowck_higher_ranked_subtype_error = | ||
higher-ranked subtype error | ||
generic-does-not-live-long-enough = | ||
generic_does_not_live_long_enough = | ||
`{$kind}` does not live long enough |
4 changes: 2 additions & 2 deletions
4
compiler/rustc_error_messages/locales/en-US/builtin_macros.ftl
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,5 @@ | ||
builtin-macros-requires-cfg-pattern = | ||
builtin_macros_requires_cfg_pattern = | ||
macro requires a cfg-pattern as an argument | ||
.label = cfg-pattern required | ||
builtin-macros-expected-one-cfg-pattern = expected 1 cfg-pattern | ||
builtin_macros_expected_one_cfg_pattern = expected 1 cfg-pattern |
26 changes: 13 additions & 13 deletions
26
compiler/rustc_error_messages/locales/en-US/const_eval.ftl
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,31 +1,31 @@ | ||
const-eval-unstable-in-stable = | ||
const_eval_unstable_in_stable = | ||
const-stable function cannot use `#[feature({$gate})]` | ||
.unstable-sugg = if it is not part of the public API, make this function unstably const | ||
.bypass-sugg = otherwise `#[rustc_allow_const_fn_unstable]` can be used to bypass stability checks | ||
.unstable_sugg = if it is not part of the public API, make this function unstably const | ||
.bypass_sugg = otherwise `#[rustc_allow_const_fn_unstable]` can be used to bypass stability checks | ||
const-eval-thread-local-access = | ||
const_eval_thread_local_access = | ||
thread-local statics cannot be accessed at compile-time | ||
const-eval-static-access = | ||
const_eval_static_access = | ||
{$kind}s cannot refer to statics | ||
.help = consider extracting the value of the `static` to a `const`, and referring to that | ||
.teach-note = `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable. | ||
.teach-help = To fix this, the value can be extracted to a `const` and then used. | ||
.teach_note = `static` and `const` variables can refer to other `const` variables. A `const` variable, however, cannot refer to a `static` variable. | ||
.teach_help = To fix this, the value can be extracted to a `const` and then used. | ||
const-eval-raw-ptr-to-int = | ||
const_eval_raw_ptr_to_int = | ||
pointers cannot be cast to integers during const eval | ||
.note = at compile-time, pointers do not have an integer value | ||
.note2 = avoiding this restriction via `transmute`, `union`, or raw pointers leads to compile-time undefined behavior | ||
const-eval-raw-ptr-comparison = | ||
const_eval_raw_ptr_comparison = | ||
pointers cannot be reliably compared during const eval | ||
.note = see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information | ||
const-eval-panic-non-str = argument to `panic!()` in a const context must have type `&str` | ||
const_eval_panic_non_str = argument to `panic!()` in a const context must have type `&str` | ||
const-eval-mut-deref = | ||
const_eval_mut_deref = | ||
mutation through a reference is not allowed in {$kind}s | ||
const-eval-transient-mut-borrow = mutable references are not allowed in {$kind}s | ||
const_eval_transient_mut_borrow = mutable references are not allowed in {$kind}s | ||
const-eval-transient-mut-borrow-raw = raw mutable references are not allowed in {$kind}s | ||
const_eval_transient_mut_borrow_raw = raw mutable references are not allowed in {$kind}s |
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,5 @@ | ||
expand-explain-doc-comment-outer = | ||
expand_explain_doc_comment_outer = | ||
outer doc comments expand to `#[doc = "..."]`, which is what this macro attempted to match | ||
expand-explain-doc-comment-inner = | ||
expand_explain_doc_comment_inner = | ||
inner doc comments expand to `#![doc = "..."]`, which is what this macro attempted to match |
Oops, something went wrong.