1 // Regression test for Issue #20971.
3 // error-pattern:Hello, world!
7 fn parse(&mut self, input: <Self as Parser>::Input);
12 fn parse(&mut self, input: ()) {}
15 pub fn many() -> Box<Parser<Input = <() as Parser>::Input> + 'static> {
16 panic!("Hello, world!")