mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 20:42:29 +00:00
1.65 clippy fixes
This commit is contained in:
parent
f0d6e418fa
commit
66a1ba00eb
53 changed files with 224 additions and 225 deletions
|
@ -1821,7 +1821,7 @@ pub(crate) fn sort_can_defs(
|
|||
.strongly_connected_components_subset(group);
|
||||
|
||||
debug_assert!(
|
||||
!group.iter_ones().any(|index| matches!((&defs[index]).as_ref().unwrap().loc_pattern.value, Pattern::AbilityMemberSpecialization{..})),
|
||||
!group.iter_ones().any(|index| matches!(defs[index].as_ref().unwrap().loc_pattern.value, Pattern::AbilityMemberSpecialization{..})),
|
||||
"A specialization is involved in a recursive cycle - this should not be knowable until solving");
|
||||
|
||||
let declaration = if direct_sccs.groups().count() == 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue