Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 10 pull requests #100593

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
374d4d8
Fix error message with non-tupled bare fn trait
compiler-errors Jul 30, 2022
9e52d22
Correct meaning of two UI tests
compiler-errors Jul 30, 2022
3fb249b
improve "try ignoring the field" diagnostic
GoldsteinE Aug 1, 2022
9b0edd0
Adjust span of fn arguments
compiler-errors Aug 12, 2022
cc6cff5
Replace - with _ in ftl slugs for better grepability
est31 Aug 10, 2022
6c4fc85
Update rustdoc to new slug style
est31 Aug 10, 2022
75d78b9
Fix tests
est31 Aug 10, 2022
ca16a8d
Change fluent_messages macro to expect _ slugs instead of - slugs
est31 Aug 10, 2022
3e0df4b
fix span_extend_to_next_char docs
GoldsteinE Aug 13, 2022
c436930
Delay span bug when failing to normalize negative coherence impl subj…
compiler-errors Aug 13, 2022
1e84973
Streamline `parse_path_start_expr`.
nnethercote Aug 14, 2022
2ef0479
Simplify attribute handling in `parse_bottom_expr`.
nnethercote Aug 14, 2022
84a0da6
Fix STD build for ESP-IDF
ivmarkov Aug 15, 2022
8453122
Revert "Revert "Remove num_cpus dependency from bootstrap, build-mani…
the8472 Aug 15, 2022
c4a5ac2
Handle correctly stripped enum variant fields
GuillaumeGomez Aug 15, 2022
36758a2
Add regression test for stripped enum variant fields
GuillaumeGomez Aug 15, 2022
44b489f
rustdoc: Mark imported items as retained
aDotInTheVoid Aug 9, 2022
337aec6
Rollup merge of #99942 - compiler-errors:nonsense-un-tupled-fn-trait-…
matthiaskrgr Aug 15, 2022
4c65cf7
Rollup merge of #100031 - GoldsteinE:try-removing-the-field, r=michae…
matthiaskrgr Aug 15, 2022
969f8af
Rollup merge of #100325 - aDotInTheVoid:rdj-import-impl, r=GuillaumeG…
matthiaskrgr Aug 15, 2022
117085f
Rollup merge of #100377 - est31:fluent_grepability, r=davidtwco
matthiaskrgr Aug 15, 2022
a71d2a9
Rollup merge of #100458 - compiler-errors:fn-argument-span, r=estebank
matthiaskrgr Aug 15, 2022
2968a75
Rollup merge of #100514 - compiler-errors:issue-100191, r=spastorino
matthiaskrgr Aug 15, 2022
526e8c1
Rollup merge of #100559 - nnethercote:parser-simplifications, r=compi…
matthiaskrgr Aug 15, 2022
eadb874
Rollup merge of #100568 - ivmarkov:master, r=Mark-Simulacrum
matthiaskrgr Aug 15, 2022
dacc4cd
Rollup merge of #100582 - GuillaumeGomez:rustdoc-json-stripped-enum-v…
matthiaskrgr Aug 15, 2022
cdfab3a
Rollup merge of #100586 - the8472:available_parallelism_2, r=jyn514
matthiaskrgr Aug 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ dependencies = [
"anyhow",
"flate2",
"hex 0.4.2",
"num_cpus",
"rayon",
"serde",
"serde_json",
Expand Down Expand Up @@ -2140,9 +2139,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"

[[package]]
name = "libc"
version = "0.2.129"
version = "0.2.131"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64de3cc433455c14174d42e554d4027ee631c4d046d43e3ecc6efc4636cdc7a7"
checksum = "04c3b4822ccebfa39c02fc03d1534441b22ead323fa0f48bb7ddd8e6ba076a40"
dependencies = [
"rustc-std-workspace-core",
]
Expand Down Expand Up @@ -4442,7 +4441,6 @@ name = "rustc_session"
version = "0.0.0"
dependencies = [
"getopts",
"num_cpus",
"rustc_ast",
"rustc_data_structures",
"rustc_errors",
Expand Down
12 changes: 6 additions & 6 deletions compiler/rustc_error_messages/locales/en-US/borrowck.ftl
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
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 compiler/rustc_error_messages/locales/en-US/const_eval.ftl
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
4 changes: 2 additions & 2 deletions compiler/rustc_error_messages/locales/en-US/expand.ftl
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
Loading