Skip to content

Instantly share code, notes, and snippets.

@jnicklas
Last active April 16, 2016 13:46
Show Gist options
  • Save jnicklas/996c4640c8f37dbc0856d134c4996c98 to your computer and use it in GitHub Desktop.
Save jnicklas/996c4640c8f37dbc0856d134c4996c98 to your computer and use it in GitHub Desktop.
Compiling graphers v0.1.0 (file:///Users/jonasnicklas/Projects/graphers)
src/parse/grammar.rs:390:13: 390:60 error: unreachable pattern [E0001]
src/parse/grammar.rs:390 Some((__loc1, Tok::Identifier(__tok0), __loc2)) => {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/parse/grammar.rs:390:13: 390:60 help: run `rustc --explain E0001` to see a detailed explanation
src/parse/grammar.rs:438:13: 438:60 error: unreachable pattern [E0001]
src/parse/grammar.rs:438 Some((__loc1, Tok::Identifier(__tok0), __loc2)) => {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/parse/grammar.rs:438:13: 438:60 help: run `rustc --explain E0001` to see a detailed explanation
src/parse/grammar.rs:481:13: 481:45 error: unreachable pattern [E0001]
src/parse/grammar.rs:481 Some((_, Tok::Identifier(_), _)) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/parse/grammar.rs:481:13: 481:45 help: run `rustc --explain E0001` to see a detailed explanation
src/parse/grammar.rs:577:13: 577:45 error: unreachable pattern [E0001]
src/parse/grammar.rs:577 Some((_, Tok::Identifier(_), _)) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/parse/grammar.rs:577:13: 577:45 help: run `rustc --explain E0001` to see a detailed explanation
src/parse/grammar.rs:745:13: 745:45 error: unreachable pattern [E0001]
src/parse/grammar.rs:745 Some((_, Tok::Identifier(_), _)) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/parse/grammar.rs:745:13: 745:45 help: run `rustc --explain E0001` to see a detailed explanation
src/parse/grammar.rs:786:13: 786:45 error: unreachable pattern [E0001]
src/parse/grammar.rs:786 Some((_, Tok::Identifier(_), _)) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/parse/grammar.rs:786:13: 786:45 help: run `rustc --explain E0001` to see a detailed explanation
src/parse/grammar.rs:823:13: 823:45 error: unreachable pattern [E0001]
src/parse/grammar.rs:823 Some((_, Tok::Identifier(_), _)) |
extern {
type Location = usize;
type Error = tok::Error;
enum Tok<'input> {
"schema" => Tok::Identifier(<&'input str>),
"query" => Tok::Identifier(<&'input str>),
"mutation" => Tok::Identifier(<&'input str>),
"type_name" => Tok::Identifier(<&'input str>),
"!" => Tok::Dollar,
"$" => Tok::Bang,
"(" => Tok::LParen,
")" => Tok::RParen,
":" => Tok::Colon,
"=" => Tok::Equals,
"@" => Tok::At,
"[" => Tok::LBracket,
"]" => Tok::RBracket,
"{" => Tok::LBrace,
"|" => Tok::Pipe,
"}" => Tok::RBrace,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment