File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
lib/codeql/rust/controlflow/internal
test/library-tests/controlflow Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -612,7 +612,7 @@ module PatternTrees {
612
612
result = rank [ i + 1 ] ( Pat pat , int j | pat = this .getPat ( j ) | pat order by j )
613
613
}
614
614
615
- predicate isEmpty ( ) { not any ( Pat p ) = this .getPat ( 0 ) }
615
+ predicate isEmpty ( ) { not any ( Pat p ) = this .getPatRanked ( 0 ) }
616
616
617
617
override predicate propagatesAbnormal ( AstNode child ) { child = this .getPatRanked ( _) }
618
618
Original file line number Diff line number Diff line change @@ -716,7 +716,6 @@ edges
716
716
| test.rs:335:9:340:9 | MatchExpr | test.rs:334:31:341:5 | BlockExpr | |
717
717
| test.rs:335:15:335:16 | 42 | test.rs:336:13:336:15 | RangePat | |
718
718
| test.rs:336:13:336:15 | RangePat | test.rs:336:15:336:15 | LiteralPat | match |
719
- | test.rs:336:13:336:15 | RangePat | test.rs:336:20:336:20 | 1 | match |
720
719
| test.rs:336:13:336:15 | RangePat | test.rs:337:13:337:16 | RangePat | no-match |
721
720
| test.rs:336:15:336:15 | LiteralPat | test.rs:336:20:336:20 | 1 | match |
722
721
| test.rs:336:15:336:15 | LiteralPat | test.rs:337:13:337:16 | RangePat | no-match |
You can’t perform that action at this time.
0 commit comments