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