Auto merge of #142358 - matthiaskrgr:rollup-fxe6m7k, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - rust-lang/rust#141967 (Configure bootstrap backport nominations through triagebot) - rust-lang/rust#142042 (Make E0621 missing lifetime suggestion verbose) - rust-lang/rust#142272 (tests: Change ABIs in tests to more future-resilient ones) - rust-lang/rust#142282 (Only run `citool` tests on the `auto` branch) - rust-lang/rust#142297 (Implement `//@ needs-target-std` compiletest directive) - rust-lang/rust#142298 (Make loongarch-none target maintainers more easily pingable) - rust-lang/rust#142306 (Dont unwrap and re-wrap typing envs) - rust-lang/rust#142324 (Remove unneeded `FunctionCx` from some codegen methods) - rust-lang/rust#142328 (feat: Add `bit_width` for unsigned integer types) Failed merges: - rust-lang/rust#141639 (Expose discriminant values in stable_mir) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
@@ -759,7 +759,8 @@ pub enum ExplicitLifetimeRequired<'a> {
|
||||
#[suggestion(
|
||||
trait_selection_explicit_lifetime_required_sugg_with_ident,
|
||||
code = "{new_ty}",
|
||||
applicability = "unspecified"
|
||||
applicability = "unspecified",
|
||||
style = "verbose"
|
||||
)]
|
||||
new_ty_span: Span,
|
||||
#[skip_arg]
|
||||
@@ -774,7 +775,8 @@ pub enum ExplicitLifetimeRequired<'a> {
|
||||
#[suggestion(
|
||||
trait_selection_explicit_lifetime_required_sugg_with_param_type,
|
||||
code = "{new_ty}",
|
||||
applicability = "unspecified"
|
||||
applicability = "unspecified",
|
||||
style = "verbose"
|
||||
)]
|
||||
new_ty_span: Span,
|
||||
#[skip_arg]
|
||||
@@ -1462,7 +1464,8 @@ pub enum SuggestAccessingField<'a> {
|
||||
#[suggestion(
|
||||
trait_selection_suggest_accessing_field,
|
||||
code = "{snippet}.{name}",
|
||||
applicability = "maybe-incorrect"
|
||||
applicability = "maybe-incorrect",
|
||||
style = "verbose"
|
||||
)]
|
||||
Safe {
|
||||
#[primary_span]
|
||||
@@ -1474,7 +1477,8 @@ pub enum SuggestAccessingField<'a> {
|
||||
#[suggestion(
|
||||
trait_selection_suggest_accessing_field,
|
||||
code = "unsafe {{ {snippet}.{name} }}",
|
||||
applicability = "maybe-incorrect"
|
||||
applicability = "maybe-incorrect",
|
||||
style = "verbose"
|
||||
)]
|
||||
Unsafe {
|
||||
#[primary_span]
|
||||
|
||||
Reference in New Issue
Block a user