You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of rust-lang#126815 - matthiaskrgr:rollup-yulic2r, r=matthiaskrgr
Rollup of 6 pull requests
Successful merges:
- rust-lang#116113 ( Generalize `{Rc,Arc}::make_mut()` to unsized types.)
- rust-lang#126722 (Add method to get `FnAbi` of function pointer)
- rust-lang#126787 (Add direct accessors for memory addresses in `Machine` (for Miri))
- rust-lang#126798 ([fuchsia-test-runner] Remove usage of kw_only)
- rust-lang#126809 (Remove stray `.` from error message)
- rust-lang#126811 (Add a tidy rule to check that fluent messages and attrs don't end in `.`)
r? `@ghost`
`@rustbot` modify labels: rollup
Copy file name to clipboardexpand all lines: compiler/rustc_const_eval/messages.ftl
+1-2
Original file line number
Diff line number
Diff line change
@@ -341,8 +341,7 @@ const_eval_unallowed_fn_pointer_call = function pointer calls are not allowed in
341
341
const_eval_unallowed_heap_allocations =
342
342
allocations are not allowed in {const_eval_const_context}s
343
343
.label = allocation not allowed in {const_eval_const_context}s
344
-
.teach_note =
345
-
The value of statics and constants must be known at compile time, and they live for the entire lifetime of a program. Creating a boxed value allocates memory on the heap at runtime, and therefore cannot be done at compile time.
344
+
.teach_note = The value of statics and constants must be known at compile time, and they live for the entire lifetime of a program. Creating a boxed value allocates memory on the heap at runtime, and therefore cannot be done at compile time.
346
345
347
346
const_eval_unallowed_inline_asm =
348
347
inline assembly is not allowed in {const_eval_const_context}s
unnecessary associated type bound for not object safe associated type
547
-
.note = this associated type has a `where Self: Sized` bound. Thus, while the associated type can be specified, it cannot be used in any way, because trait objects are not `Sized`.
547
+
.note = this associated type has a `where Self: Sized` bound, and while the associated type can be specified, it cannot be used because trait objects are never `Sized`
.help = try adding `extern crate rustc_driver;` at the top level of this crate
249
249
250
250
metadata_stable_crate_id_collision =
251
-
found crates (`{$crate_name0}` and `{$crate_name1}`) with colliding StableCrateId values.
251
+
found crates (`{$crate_name0}` and `{$crate_name1}`) with colliding StableCrateId values
252
252
253
253
metadata_std_required =
254
254
`std` is required by `{$current_crate}` because it does not declare `#![no_std]`
255
255
256
256
metadata_symbol_conflicts_current =
257
-
the current crate is indistinguishable from one of its dependencies: it has the same crate-name `{$crate_name}` and was compiled with the same `-C metadata` arguments. This will result in symbol conflicts between the two.
257
+
the current crate is indistinguishable from one of its dependencies: it has the same crate-name `{$crate_name}` and was compiled with the same `-C metadata` arguments, so this will result in symbol conflicts between the two
258
258
259
259
metadata_target_no_std_support =
260
260
the `{$locator_triple}` target may not support the standard library
.note = raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
104
104
.label = dereference of raw pointer
105
105
106
-
mir_build_exceeds_mcdc_condition_limit = Number of conditions in decision ({$num_conditions}) exceeds limit ({$max_conditions}). MC/DC analysis will not count this expression.
106
+
mir_build_exceeds_mcdc_condition_limit = number of conditions in decision ({$num_conditions}) exceeds limit ({$max_conditions}), so MC/DC analysis will not count this expression
107
107
108
108
mir_build_extern_static_requires_unsafe =
109
109
use of extern static is unsafe and requires unsafe block
associated type `Iterator::Item` is declared without lifetime parameters, so using a borrowed type for them requires that lifetime to come from the implemented type
243
-
.note = you can't create an `Iterator` that borrows each `Item` from itself, but you can instead create a new type that borrows your existing type and implement `Iterator` for that new type.
243
+
.note = you can't create an `Iterator` that borrows each `Item` from itself, but you can instead create a new type that borrows your existing type and implement `Iterator` for that new type
244
244
245
245
resolve_lifetime_param_in_enum_discriminant =
246
246
lifetime parameters may not be used in enum discriminant values
0 commit comments