rust/tests/target/issue-2936.rs

20 lines
475 B
Rust
Raw Normal View History

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"),
};
}
};
}
}