File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
lib/codeql/rust/elements/internal Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module Impl {
29
29
*/
30
30
class MatchExpr extends Generated:: MatchExpr {
31
31
override string toString ( ) {
32
- result = "match " + this .getExpr ( ) .toAbbreviatedString ( ) + " { ... }"
32
+ result = "match " + this .getMatchedExpr ( ) .toAbbreviatedString ( ) + " { ... }"
33
33
}
34
34
35
35
/**
Original file line number Diff line number Diff line change 1
- | gen_match_expr.rs:5:5:8:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatched : | yes | hasMatchArmList: | yes |
2
- | gen_match_expr.rs:9:5:12:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatched : | yes | hasMatchArmList: | yes |
1
+ | gen_match_expr.rs:5:5:8:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatchedExpr : | yes | hasMatchArmList: | yes |
2
+ | gen_match_expr.rs:9:5:12:5 | match x { ... } | getNumberOfAttrs: | 0 | hasMatchedExpr : | yes | hasMatchArmList: | yes |
Original file line number Diff line number Diff line change
1
+ | gen_match_expr.rs:5:5:8:5 | match x { ... } | gen_match_expr.rs:5:11:5:11 | x |
2
+ | gen_match_expr.rs:9:5:12:5 | match x { ... } | gen_match_expr.rs:9:11:9:11 | x |
You can’t perform that action at this time.
0 commit comments