Rocket/core/codegen/tests/ui-fail
Sergio Benitez 2727d7bb7b Automatically discover 'Responder' generic bounds.
This commit presents and applies a new technique for bounding type
generics in derives. In short, for a generic `T` used in a field type of
`Field<T>`, where an eventual bound of `Responder` required, the derive
generates a bound of `Field<T>: Responder`. This removes the need for
any manually provided bounds while simultaneously allowing more
structures to typecheck. For example, generics in header components are
now fully supported.
2021-06-29 03:31:31 -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 Fix, finish 'FromForm' derive field defaults. 2021-06-03 00:05:02 -07: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
responder.rs Automatically discover 'Responder' generic bounds. 2021-06-29 03:31:31 -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 Drop 'Data' after sending a response, not before. 2021-06-08 13:26:16 -07:00
routes.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
synchronize.sh Allow custom generic bounds in 'Responder' derive. 2021-05-26 02:26:11 -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