Skip to content

Instantly share code, notes, and snippets.

@samgiles
Last active February 26, 2016 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samgiles/826adc30d5209d56a692 to your computer and use it in GitHub Desktop.
Save samgiles/826adc30d5209d56a692 to your computer and use it in GitHub Desktop.
This makes no sense...
type mismatch: the type `[closure@src/service_router.rs:28:37: 32:6 c2:T]` implements the trait
`for<'r, 'r, 'r> core::ops::Fn<(&'r mut iron::request::Request<'r, 'r>,)>`,
but the trait
`for<'r, 'r, 'r> core::ops::Fn<(&'r mut iron::request::Request<'r, 'r>,)>`
is required
(expected struct
`iron::request::Request`,
found a different struct
`iron::request::Request`
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment