1 2 3 4 5 6 7
extern crate pegtastic; pegtastic::parser!(grammar foo() for str { fn asdf() {} //~ ERROR expected one of "#", "crate", "pub", "rule", "use", "}" }); fn main() {}