blob: 1d6eb6d6052744398e8b3e0e47fd874650daddba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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")
}
};
}
};
}
}
|