]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-2936.rs
Merge pull request #3500 from rchaser53/issue-3499
[rust.git] / tests / target / issue-2936.rs
1 struct AStruct {
2     A: u32,
3     B: u32,
4     C: u32,
5 }
6
7 impl Something for AStruct {
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                         ..
14                     )) => cstr!("PEMQExpectedFeatureName"),
15                 };
16             }
17         };
18     }
19 }