[−][src]Macro rune_testing::assert_compile_error
Assert that the given rune program raises a compile error.
Examples
use rune_testing::*; assert_compile_error! { r#"fn main() { break; }"#, BreakOutsideOfLoop { span } => { assert_eq!(span, Span::new(12, 17)); } };