blob: 55b5c56e698447539663fb05e4a4e2928d948d66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
struct AStruct {
A: u32,
B: u32,
C: u32,
}
impl Something for AStruct {
fn a_func() {
match a_val {
ContextualParseError::InvalidMediaRule(ref err) => {
let err: &CStr = match err.kind {
ParseErrorKind::Custom(StyleParseErrorKind::MediaQueryExpectedFeatureName(..)) => {
cstr!("PEMQExpectedFeatureName")
},
};
}
};
}
}
|