diff --git a/core/codegen/tests/ui-fail/from_form_value.stderr b/core/codegen/tests/ui-fail/from_form_value.stderr index c02813db..f49e5468 100644 --- a/core/codegen/tests/ui-fail/from_form_value.stderr +++ b/core/codegen/tests/ui-fail/from_form_value.stderr @@ -98,5 +98,5 @@ note: error occurred while deriving `FromFormValue` | ^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) -error: aborting due to 7 previous errors +error: aborting due to 7 previous errors; 1 warning emitted diff --git a/core/codegen/tests/ui-fail/route-warnings.stderr b/core/codegen/tests/ui-fail/route-warnings.stderr index 7b6b53c0..487b53aa 100644 --- a/core/codegen/tests/ui-fail/route-warnings.stderr +++ b/core/codegen/tests/ui-fail/route-warnings.stderr @@ -42,3 +42,5 @@ note: 'HEAD' does not typically support payloads | ^^^^ = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) +warning: 5 warnings emitted + diff --git a/core/codegen/tests/ui-fail/uri_display.rs b/core/codegen/tests/ui-fail/uri_display.rs index 358c956f..d76635dc 100644 --- a/core/codegen/tests/ui-fail/uri_display.rs +++ b/core/codegen/tests/ui-fail/uri_display.rs @@ -1,3 +1,5 @@ +// normalize-stderr-test: "::: (.*)/core/http" -> "::: $$ROCKET/core/http" + #[macro_use] extern crate rocket; #[derive(UriDisplayQuery)] diff --git a/core/codegen/tests/ui-fail/uri_display.stderr b/core/codegen/tests/ui-fail/uri_display.stderr index 44f086be..ad52c626 100644 --- a/core/codegen/tests/ui-fail/uri_display.stderr +++ b/core/codegen/tests/ui-fail/uri_display.stderr @@ -1,359 +1,489 @@ error: fieldless structs or variants are not supported - --> $DIR/uri_display.rs:7:1 + --> $DIR/uri_display.rs:9:1 | -7 | struct Foo1; +9 | struct Foo1; | ^^^^^^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:3:10 + --> $DIR/uri_display.rs:5:10 | -3 | #[derive(UriDisplayQuery)] +5 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: fieldless structs or variants are not supported - --> $DIR/uri_display.rs:14:1 + --> $DIR/uri_display.rs:16:1 | -14 | struct Foo2(); +16 | struct Foo2(); | ^^^^^^^^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:10:10 + --> $DIR/uri_display.rs:12:10 | -10 | #[derive(UriDisplayQuery)] +12 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: empty enums are not supported - --> $DIR/uri_display.rs:21:1 + --> $DIR/uri_display.rs:23:1 | -21 | enum Foo3 { } +23 | enum Foo3 { } | ^^^^^^^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:17:10 + --> $DIR/uri_display.rs:19:10 | -17 | #[derive(UriDisplayQuery)] +19 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: fieldless structs or variants are not supported - --> $DIR/uri_display.rs:29:5 + --> $DIR/uri_display.rs:31:5 | -29 | Variant, +31 | Variant, | ^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:24:10 + --> $DIR/uri_display.rs:26:10 | -24 | #[derive(UriDisplayQuery)] +26 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: tuple structs or variants must have exactly one field - --> $DIR/uri_display.rs:37:12 + --> $DIR/uri_display.rs:39:12 | -37 | struct Foo5(String, String); +39 | struct Foo5(String, String); | ^^^^^^^^^^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:33:10 + --> $DIR/uri_display.rs:35:10 | -33 | #[derive(UriDisplayQuery)] +35 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid value: expected string literal - --> $DIR/uri_display.rs:45:20 + --> $DIR/uri_display.rs:47:20 | -45 | #[form(field = 123)] +47 | #[form(field = 123)] | ^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:40:10 + --> $DIR/uri_display.rs:42:10 | -40 | #[derive(UriDisplayQuery)] +42 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: struct must have exactly one field - --> $DIR/uri_display.rs:53:12 + --> $DIR/uri_display.rs:55:12 | -53 | struct Foo7(String, usize); +55 | struct Foo7(String, usize); | ^^^^^^^^^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:50:10 + --> $DIR/uri_display.rs:52:10 | -50 | #[derive(UriDisplayPath)] +52 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: struct must have exactly one field - --> $DIR/uri_display.rs:59:1 + --> $DIR/uri_display.rs:61:1 | -59 | struct Foo8; +61 | struct Foo8; | ^^^^^^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:56:10 + --> $DIR/uri_display.rs:58:10 | -56 | #[derive(UriDisplayPath)] +58 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: enums are not supported - --> $DIR/uri_display.rs:65:1 + --> $DIR/uri_display.rs:67:1 | -65 | enum Foo9 { } +67 | enum Foo9 { } | ^^^^^^^^^^^^^^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:62:10 + --> $DIR/uri_display.rs:64:10 | -62 | #[derive(UriDisplayPath)] +64 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: named structs are not supported - --> $DIR/uri_display.rs:71:1 + --> $DIR/uri_display.rs:73:1 | -71 | / struct Foo10 { -72 | | //~^ ERROR not supported -73 | | named: usize -74 | | } +73 | / struct Foo10 { +74 | | //~^ ERROR not supported +75 | | named: usize +76 | | } | |_^ | note: error occurred while deriving `UriDisplay` - --> $DIR/uri_display.rs:68:10 + --> $DIR/uri_display.rs:70:10 | -68 | #[derive(UriDisplayPath)] +70 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo1: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:3:10 - | -3 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo1` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:5:10 + | +5 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo1` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo1: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:3:10 - | -3 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo1` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo1` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:5:10 + | +5 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo1` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo1` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo1: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:3:10 - | -3 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo1` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo1` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:5:10 + | +5 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo1` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo1` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo2: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:10:10 - | -10 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo2` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:12:10 + | +12 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo2` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo2: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:10:10 - | -10 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo2` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo2` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:12:10 + | +12 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo2` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo2` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo2: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:10:10 - | -10 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo2` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo2` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:12:10 + | +12 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo2` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo2` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo3: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:17:10 - | -17 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo3` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:19:10 + | +19 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo3` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo3: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:17:10 - | -17 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo3` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo3` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:19:10 + | +19 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo3` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo3` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo3: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:17:10 - | -17 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo3` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo3` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:19:10 + | +19 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo3` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo3` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo4: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:24:10 - | -24 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo4` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:26:10 + | +26 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo4` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo4: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:24:10 - | -24 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo4` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo4` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:26:10 + | +26 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo4` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo4` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo4: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:24:10 - | -24 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo4` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo4` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:26:10 + | +26 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo4` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo4` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo5: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:33:10 - | -33 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo5` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:35:10 + | +35 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo5` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo5: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:33:10 - | -33 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo5` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo5` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:35:10 + | +35 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo5` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo5` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo5: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:33:10 - | -33 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo5` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo5` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:35:10 + | +35 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo5` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo5` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo6: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:40:10 - | -40 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo6` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:42:10 + | +42 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo6` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo6: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:40:10 - | -40 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo6` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo6` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:42:10 + | +42 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo6` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo6` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo6: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:40:10 - | -40 | #[derive(UriDisplayQuery)] - | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo6` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo6` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:42:10 + | +42 | #[derive(UriDisplayQuery)] + | ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo6` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&mut Foo6` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo7: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:50:10 - | -50 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo7` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:52:10 + | +52 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo7` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo7: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:50:10 - | -50 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo7` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo7` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:52:10 + | +52 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo7` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo7` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo8: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:56:10 - | -56 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo8` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:58:10 + | +58 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo8` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo8: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:56:10 - | -56 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo8` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo8` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:58:10 + | +58 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo8` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo8` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo9: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:62:10 - | -62 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo9` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:64:10 + | +64 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo9` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo9: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:62:10 - | -62 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo9` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo9` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:64:10 + | +64 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo9` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo9` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo10: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:68:10 - | -68 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo10` - | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:70:10 + | +70 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo10` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Foo10: rocket::http::uri::UriDisplay` is not satisfied - --> $DIR/uri_display.rs:68:10 - | -68 | #[derive(UriDisplayPath)] - | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo10` - | - = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo10` - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + --> $DIR/uri_display.rs:70:10 + | +70 | #[derive(UriDisplayPath)] + | ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay` is not implemented for `Foo10` + | + ::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18 + | +196 | type Target: UriDisplay

; + | ------------- required by this bound in `rocket::http::uri::FromUriParam` + | + = note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay` for `&Foo10` + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 36 previous errors