Rocket/core/codegen/tests/ui-fail
Sergio Benitez fa3e0334c1 Overhaul URI types, parsers, 'uri!' macro.
This commit entirely rewrites Rocket's URI parsing routines and
overhauls the 'uri!' macro resolving all known issues and removing any
potential limitations for compile-time URI creation. This commit:

  * Introduces a new 'Reference' URI variant for URI-references.
  * Modifies 'Redirect' to accept 'TryFrom<Reference>'.
  * Introduces a new 'Asterisk' URI variant for parity.
  * Allows creation of any URI type from a string literal via 'uri!'.
  * Enables dynamic/static prefixing/suffixing of route URIs in 'uri!'.
  * Unifies 'Segments' and 'QuerySegments' into one generic 'Segments'.
  * Consolidates URI formatting types/traits into a 'uri::fmt' module.
  * Makes APIs more symmetric across URI types.

It also includes the following less-relevant changes:

  * Implements 'FromParam' for a single-segment 'PathBuf'.
  * Adds 'FileName::is_safe()'.
  * No longer reparses upstream request URIs.

Resolves #842.
Resolves #853.
Resolves #998.
2021-05-19 18:47:11 -07:00
..
async-entry.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
bad-ignored-segments.rs Add tests for ignored parameters '<_>'. 2020-10-30 00:47:41 -07:00
catch.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
catch_type_errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
catchers.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
from_form.rs Improve 'FromForm' derive error spans. 2021-03-04 02:11:06 -08:00
from_form_field.rs Allow several 'field' attributes in all derives. 2021-04-07 23:09:05 -07:00
from_form_type_errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
responder-types.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
route-attribute-general-syntax.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
route-path-bad-syntax.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
route-type-errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
route-warnings.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
routes.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
typed-uri-bad-type.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
typed-uris-bad-params.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
typed-uris-invalid-syntax.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
uri_display.rs UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
uri_display_type_errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00