Rocket/core/codegen
Jakub Dąbek 9177b20ff1 Workaround 'rustc' bug, compiling more async code.
This commit implements a workaround for an [issue within rustc]. The
problem showed itself when using e.g. a `Vec<&str>` argument in an async
route handler (but not `&str`), which resulted in a "implementation of
`FromForm` is not general enough" error. The workaround itself works by
gathering all invocations of `FromForm`'s methods inside a block without
any `.await` points [ref].

[issue within rustc]: https://github.com/rust-lang/rust/issues/69663
[ref]: https://github.com/rust-lang/rust/issues/57478#issuecomment-501186084
2021-08-24 19:46:47 -07:00
..
src Workaround 'rustc' bug, compiling more async code. 2021-08-24 19:46:47 -07:00
tests Workaround 'rustc' bug, compiling more async code. 2021-08-24 19:46:47 -07:00
Cargo.toml Update 'time' to 0.3, 'cookie' to 0.16. 2021-08-19 19:49:23 -07:00