Skip to content

Instantly share code, notes, and snippets.

@durka
Created July 19, 2017 21:49
Show Gist options
  • Save durka/48bdf6d66697ffa51b9c9ff3b0fca0c6 to your computer and use it in GitHub Desktop.
Save durka/48bdf6d66697ffa51b9c9ff3b0fca0c6 to your computer and use it in GitHub Desktop.
warning: unreachable pattern
--> src/routes.rs:66:1
|
66 | / handle_login! {
67 | | #[get("/<date>/<flow>/<idx>")]
68 | | pub fn episode/episode_login(user: User, users: State<ActiveUsers>, date: Datestamp, flow: Option<FlowType>, idx: u32) -> Template {
69 | | let flow = flow.ok_or(ErrorKind::BadParam("invalid flow type"))?;
... |
132 | | }
133 | | }
| |_^ in this macro invocation
|
= note: this error originates in a macro outside of the current crate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment