]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-2936.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / tools / rustfmt / 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 }