1 2 3 4 5 6 7
extern crate peg; peg::parser!(grammar foo() for str { rule bar() = foo() //~ ERROR undefined rule `foo` }); fn main() {}