fix some clippy::style findings
comparison_to_empty iter_nth_zero for_kv_map manual_next_back redundant_pattern
This commit is contained in:
parent
8771282d4e
commit
ed4c5fef72
6 changed files with 15 additions and 12 deletions
|
@ -51,7 +51,7 @@ fn assumed_wf_types<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> &'tcx [(Ty<'
|
|||
// assumed_wf_types should include those of `Opaque<T>`, `Opaque<T>` itself
|
||||
// and `&'static T`.
|
||||
DefKind::OpaqueTy => bug!("unimplemented implied bounds for nested opaque types"),
|
||||
def_kind @ _ => {
|
||||
def_kind => {
|
||||
bug!("unimplemented implied bounds for opaque types with parent {def_kind:?}")
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue