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#120649 - matthiaskrgr:rollup-ek80j61, r=matthiaskrgr
Rollup of 8 pull requests
Successful merges:
- rust-lang#119759 (Add FileCheck annotations to dataflow-const-prop tests)
- rust-lang#120323 (On E0277 be clearer about implicit `Sized` bounds on type params and assoc types)
- rust-lang#120473 (Only suggest removal of `as_*` and `to_` conversion methods on E0308)
- rust-lang#120540 (add test for try-block-in-match-arm)
- rust-lang#120547 (`#![feature(inline_const_pat)]` is no longer incomplete)
- rust-lang#120552 (Correctly check `never_type` feature gating)
- rust-lang#120555 (put pnkfelix (me) back on the review queue.)
- rust-lang#120556 (Improve the diagnostics for unused generic parameters)
r? `@ghost`
`@rustbot` modify labels: rollup
.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`.
435
435
.suggestion = remove this bound
436
436
437
+
hir_analysis_unused_generic_parameter =
438
+
{$param_def_kind} `{$param_name}` is never used
439
+
.label = unused {$param_def_kind}
440
+
.const_param_help = if you intended `{$param_name}` to be a const parameter, use `const {$param_name}: /* Type */` instead
441
+
hir_analysis_unused_generic_parameter_adt_help =
442
+
consider removing `{$param_name}`, referring to it in a field, or using a marker such as `{$phantom_data}`
0 commit comments