Debian Codegraph @

tests/query/highlights/rust/match_patterns.rs

raw symbols SCIP
1 fn m(x: Shape) {
2 match x {
3 crate::Shape::Circle(r) => r,
4 // ^ @type
5 // ^ @type.enum.variant
6 geom::Style::Bold { weight } => weight,
7 // ^ @type
8 // ^ @type.enum.variant
9 // ^ @variable.other.member
10 Flag::MAX => 0,
11 // ^ @type
12 // ^ @constant
13 _ => 1,
14 };
15 }