mirror of https://github.com/rwf2/Rocket.git
4df7ce6bf5
This commit modifies `codegen` so that a route's name (the name of the route handler) is stored in the generated static route information structure and later propogated into the corresponding `Route` structure. The primary advantage of this change is an improvement to debug and error messages which now include route names. The collision error message, in particular, has been improved dramatically in this commit. Additionally, the `LaunchError::Collision` variant now contains a vector of the colliding routes. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml | ||
build.rs |