mirror of https://github.com/rwf2/Rocket.git
Update UI tests for latest nightly.
This commit is contained in:
parent
376f741338
commit
ccb5eb1d4f
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// normalize-stderr-test: "::: (.*)/core/http" -> "::: $$ROCKET/core/http"
|
||||
|
||||
#[macro_use] extern crate rocket;
|
||||
|
||||
#[derive(UriDisplayQuery)]
|
||||
|
|
|
@ -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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:3:10
|
||||
|
|
||||
3 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo1`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:3:10
|
||||
|
|
||||
3 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo1`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo1`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:3:10
|
||||
|
|
||||
3 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo1`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo1`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:10:10
|
||||
|
|
||||
10 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo2`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:10:10
|
||||
|
|
||||
10 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo2`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo2`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:10:10
|
||||
|
|
||||
10 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo2`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo2`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:17:10
|
||||
|
|
||||
17 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo3`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:17:10
|
||||
|
|
||||
17 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo3`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo3`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:17:10
|
||||
|
|
||||
17 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo3`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo3`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:24:10
|
||||
|
|
||||
24 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo4`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:24:10
|
||||
|
|
||||
24 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo4`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo4`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:24:10
|
||||
|
|
||||
24 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo4`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo4`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:33:10
|
||||
|
|
||||
33 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo5`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:33:10
|
||||
|
|
||||
33 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo5`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo5`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:33:10
|
||||
|
|
||||
33 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo5`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo5`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:40:10
|
||||
|
|
||||
40 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo6`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:40:10
|
||||
|
|
||||
40 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo6`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo6`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not satisfied
|
||||
--> $DIR/uri_display.rs:40:10
|
||||
|
|
||||
40 | #[derive(UriDisplayQuery)]
|
||||
| ^^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` is not implemented for `Foo6`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Query>` is not implemented for `Foo6`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Query>` 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:50:10
|
||||
|
|
||||
50 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo7`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:50:10
|
||||
|
|
||||
50 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` is not implemented for `Foo7`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo7`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:56:10
|
||||
|
|
||||
56 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo8`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:56:10
|
||||
|
|
||||
56 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` is not implemented for `Foo8`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo8`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:62:10
|
||||
|
|
||||
62 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo9`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:62:10
|
||||
|
|
||||
62 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` is not implemented for `Foo9`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo9`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:68:10
|
||||
|
|
||||
68 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo10`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- 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<rocket::http::uri::Path>` is not satisfied
|
||||
--> $DIR/uri_display.rs:68:10
|
||||
|
|
||||
68 | #[derive(UriDisplayPath)]
|
||||
| ^^^^^^^^^^^^^^ the trait `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` is not implemented for `Foo10`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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<rocket::http::uri::Path>` is not implemented for `Foo10`
|
||||
|
|
||||
::: $ROCKET/core/http/src/uri/from_uri_param.rs:196:18
|
||||
|
|
||||
196 | type Target: UriDisplay<P>;
|
||||
| ------------- required by this bound in `rocket::http::uri::FromUriParam`
|
||||
|
|
||||
= note: required because of the requirements on the impl of `rocket::http::uri::UriDisplay<rocket::http::uri::Path>` 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue