]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-2936.rs
Fix static async closure qualifier order
[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                     )) => {
15                         cstr!("PEMQExpectedFeatureName")
16                     }
17                 };
18             }
19         };
20     }
21 }