diff --git a/contrib/codegen/tests/ui-fail/database-syntax.stderr b/contrib/codegen/tests/ui-fail/database-syntax.stderr index 7a3150ee..90bbb6ba 100644 --- a/contrib/codegen/tests/ui-fail/database-syntax.stderr +++ b/contrib/codegen/tests/ui-fail/database-syntax.stderr @@ -3,6 +3,8 @@ error: expected string literal | 5 | #[database] | ^^^^^^^^^^^ + | + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected string literal --> $DIR/database-syntax.rs:9:12 diff --git a/core/codegen/tests/ui-fail/catchers.stderr b/core/codegen/tests/ui-fail/catchers.stderr index 3c902fad..2029d877 100644 --- a/core/codegen/tests/ui-fail/catchers.stderr +++ b/core/codegen/tests/ui-fail/catchers.stderr @@ -14,7 +14,9 @@ error: unexpected end of input, expected identifier --> $DIR/catchers.rs:9:13 | 9 | let _ = catchers![a::]; //~ ERROR expected identifier - | ^^^^^^^^^^^^^^ in this macro invocation + | ^^^^^^^^^^^^^^ + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 3 previous errors diff --git a/core/codegen/tests/ui-fail/from_form.stderr b/core/codegen/tests/ui-fail/from_form.stderr index f7225904..f81a4755 100644 --- a/core/codegen/tests/ui-fail/from_form.stderr +++ b/core/codegen/tests/ui-fail/from_form.stderr @@ -9,6 +9,7 @@ note: error occurred while deriving `FromForm` | 5 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: tuple structs are not supported --> $DIR/from_form.rs:10:1 @@ -21,6 +22,7 @@ note: error occurred while deriving `FromForm` | 9 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: at least one field is required --> $DIR/from_form.rs:14:1 @@ -33,6 +35,7 @@ note: error occurred while deriving `FromForm` | 13 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: tuple structs are not supported --> $DIR/from_form.rs:18:1 @@ -45,6 +48,7 @@ note: error occurred while deriving `FromForm` | 17 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: only one lifetime is supported --> $DIR/from_form.rs:22:20 @@ -57,6 +61,7 @@ note: error occurred while deriving `FromForm` | 21 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --> $DIR/from_form.rs:32:20 @@ -69,6 +74,7 @@ note: error occurred while deriving `FromForm` | 30 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate field name --> $DIR/from_form.rs:41:5 @@ -86,6 +92,7 @@ note: error occurred while deriving `FromForm` | 37 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate field name --> $DIR/from_form.rs:49:20 @@ -103,6 +110,7 @@ note: error occurred while deriving `FromForm` | 45 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate field name --> $DIR/from_form.rs:57:20 @@ -120,6 +128,7 @@ note: error occurred while deriving `FromForm` | 54 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate attribute parameter: field --> $DIR/from_form.rs:64:28 @@ -132,6 +141,7 @@ note: error occurred while deriving `FromForm` | 62 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: malformed attribute: expected list --> $DIR/from_form.rs:71:7 @@ -145,6 +155,7 @@ note: error occurred while deriving `FromForm` | 69 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected key/value pair --> $DIR/from_form.rs:78:12 @@ -157,6 +168,7 @@ note: error occurred while deriving `FromForm` | 76 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected key/value pair --> $DIR/from_form.rs:85:12 @@ -169,6 +181,7 @@ note: error occurred while deriving `FromForm` | 83 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected attribute parameter: `beep` --> $DIR/from_form.rs:92:12 @@ -181,6 +194,7 @@ note: error occurred while deriving `FromForm` | 90 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate invocation of `form` attribute --> $DIR/from_form.rs:100:5 @@ -193,6 +207,7 @@ note: error occurred while deriving `FromForm` | 97 | #[derive(FromForm)] | ^^^^^^^^ + = 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/from_form.rs:107:20 @@ -205,6 +220,7 @@ note: error occurred while deriving `FromForm` | 105 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected literal or key/value pair --> $DIR/from_form.rs:114:12 @@ -217,6 +233,7 @@ note: error occurred while deriving `FromForm` | 112 | #[derive(FromForm)] | ^^^^^^^^ + = 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/from_form.rs:121:20 @@ -229,6 +246,7 @@ note: error occurred while deriving `FromForm` | 119 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --> $DIR/from_form.rs:128:20 @@ -241,6 +259,7 @@ note: error occurred while deriving `FromForm` | 126 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --> $DIR/from_form.rs:135:20 @@ -253,6 +272,7 @@ note: error occurred while deriving `FromForm` | 133 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --> $DIR/from_form.rs:142:20 @@ -265,6 +285,7 @@ note: error occurred while deriving `FromForm` | 140 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --> $DIR/from_form.rs:149:20 @@ -277,6 +298,7 @@ note: error occurred while deriving `FromForm` | 147 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --> $DIR/from_form.rs:156:20 @@ -289,6 +311,7 @@ note: error occurred while deriving `FromForm` | 154 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --> $DIR/from_form.rs:163:20 @@ -301,6 +324,7 @@ note: error occurred while deriving `FromForm` | 161 | #[derive(FromForm)] | ^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 24 previous errors diff --git a/core/codegen/tests/ui-fail/from_form_value.stderr b/core/codegen/tests/ui-fail/from_form_value.stderr index 9d488e6c..c02813db 100644 --- a/core/codegen/tests/ui-fail/from_form_value.stderr +++ b/core/codegen/tests/ui-fail/from_form_value.stderr @@ -9,6 +9,7 @@ note: error occurred while deriving `FromFormValue` | 3 | #[derive(FromFormValue)] | ^^^^^^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: tuple structs are not supported --> $DIR/from_form_value.rs:8:1 @@ -21,6 +22,7 @@ note: error occurred while deriving `FromFormValue` | 7 | #[derive(FromFormValue)] | ^^^^^^^^^^^^^ + = 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/from_form_value.rs:12:1 @@ -36,6 +38,7 @@ note: error occurred while deriving `FromFormValue` | 11 | #[derive(FromFormValue)] | ^^^^^^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: variants cannot have fields --> $DIR/from_form_value.rs:19:5 @@ -48,6 +51,7 @@ note: error occurred while deriving `FromFormValue` | 17 | #[derive(FromFormValue)] | ^^^^^^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: deriving for empty enum --> $DIR/from_form_value.rs:24:1 @@ -66,6 +70,7 @@ note: error occurred while deriving `FromFormValue` | 27 | #[derive(FromFormValue)] | ^^^^^^^^^^^^^ + = 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/from_form_value.rs:35:20 @@ -78,6 +83,7 @@ note: error occurred while deriving `FromFormValue` | 33 | #[derive(FromFormValue)] | ^^^^^^^^^^^^^ + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected literal or key/value pair --> $DIR/from_form_value.rs:42:12 @@ -90,6 +96,7 @@ note: error occurred while deriving `FromFormValue` | 40 | #[derive(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 diff --git a/core/codegen/tests/ui-fail/route-attribute-general-syntax.stderr b/core/codegen/tests/ui-fail/route-attribute-general-syntax.stderr index d28a9212..d2e3f2ed 100644 --- a/core/codegen/tests/ui-fail/route-attribute-general-syntax.stderr +++ b/core/codegen/tests/ui-fail/route-attribute-general-syntax.stderr @@ -3,6 +3,8 @@ error: missing expected parameter: `path` | 7 | #[get()] //~ ERROR missing expected parameter | ^^^^^^^^ + | + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error: expected `fn` --> $DIR/route-attribute-general-syntax.rs:13:1 @@ -67,6 +69,7 @@ error: malformed attribute | ^^^^^^^^^^^^^^^^ | = help: expected syntax: #[get(key = value, ..)] + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error: handler arguments cannot be ignored --> $DIR/route-attribute-general-syntax.rs:53:7 diff --git a/core/codegen/tests/ui-fail/route-warnings.stderr b/core/codegen/tests/ui-fail/route-warnings.stderr index 44a3a72b..7b6b53c0 100644 --- a/core/codegen/tests/ui-fail/route-warnings.stderr +++ b/core/codegen/tests/ui-fail/route-warnings.stderr @@ -27,6 +27,7 @@ note: 'GET' does not typically support payloads | 20 | #[get("/", data = "<_foo>")] //~ WARNING used with non-payload-supporting method | ^^^ + = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: `data` used with non-payload-supporting method --> $DIR/route-warnings.rs:23:13 @@ -39,4 +40,5 @@ note: 'HEAD' does not typically support payloads | 23 | #[head("/", data = "<_foo>")] //~ WARNING used with non-payload-supporting method | ^^^^ + = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/core/codegen/tests/ui-fail/routes.stderr b/core/codegen/tests/ui-fail/routes.stderr index 575385e1..17779157 100644 --- a/core/codegen/tests/ui-fail/routes.stderr +++ b/core/codegen/tests/ui-fail/routes.stderr @@ -14,7 +14,9 @@ error: unexpected end of input, expected identifier --> $DIR/routes.rs:9:13 | 9 | let _ = routes![a::]; //~ ERROR expected identifier - | ^^^^^^^^^^^^ in this macro invocation + | ^^^^^^^^^^^^ + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 3 previous errors diff --git a/core/codegen/tests/ui-fail/typed-uri-bad-type.stderr b/core/codegen/tests/ui-fail/typed-uri-bad-type.stderr index b76600d5..55203bc4 100644 --- a/core/codegen/tests/ui-fail/typed-uri-bad-type.stderr +++ b/core/codegen/tests/ui-fail/typed-uri-bad-type.stderr @@ -115,6 +115,8 @@ error[E0277]: the trait bound `S: rocket::http::uri::Ignorable>() { } | ------------ required by this bound in `rocket::http::uri::assert_ignorable` + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `usize: rocket::http::uri::Ignorable` is not satisfied --> $DIR/typed-uri-bad-type.rs:42:16 @@ -129,6 +131,8 @@ error[E0277]: the trait bound `usize: rocket::http::uri::Ignorable>() { } | ------------ required by this bound in `rocket::http::uri::assert_ignorable` + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `S: rocket::http::uri::FromUriParam` is not satisfied --> $DIR/typed-uri-bad-type.rs:83:26 diff --git a/core/codegen/tests/ui-fail/typed-uris-invalid-syntax.stderr b/core/codegen/tests/ui-fail/typed-uris-invalid-syntax.stderr index dad1ce58..13b42eea 100644 --- a/core/codegen/tests/ui-fail/typed-uris-invalid-syntax.stderr +++ b/core/codegen/tests/ui-fail/typed-uris-invalid-syntax.stderr @@ -32,7 +32,9 @@ error: unexpected end of input, expected identifier --> $DIR/typed-uris-invalid-syntax.rs:14:5 | 14 | uri!("/mount",); //~ ERROR expected identifier - | ^^^^^^^^^^^^^^^^ in this macro invocation + | ^^^^^^^^^^^^^^^^ + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid mount point; mount points must be static, absolute URIs: `/example` --> $DIR/typed-uris-invalid-syntax.rs:15:10 @@ -50,13 +52,17 @@ error: unexpected end of input, call to `uri!` cannot be empty --> $DIR/typed-uris-invalid-syntax.rs:17:5 | 17 | uri!(); //~ unexpected end of input - | ^^^^^^^ in this macro invocation + | ^^^^^^^ + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected end of input, expected expression --> $DIR/typed-uris-invalid-syntax.rs:18:5 | 18 | uri!(simple: id = ); //~ expected expression - | ^^^^^^^^^^^^^^^^^^^^ in this macro invocation + | ^^^^^^^^^^^^^^^^^^^^ + | + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 10 previous errors diff --git a/core/codegen/tests/ui-fail/uri_display.stderr b/core/codegen/tests/ui-fail/uri_display.stderr index 2f5ab7ac..44f086be 100644 --- a/core/codegen/tests/ui-fail/uri_display.stderr +++ b/core/codegen/tests/ui-fail/uri_display.stderr @@ -9,6 +9,7 @@ note: error occurred while deriving `UriDisplay` | 3 | #[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 @@ -21,6 +22,7 @@ note: error occurred while deriving `UriDisplay` | 10 | #[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 @@ -33,6 +35,7 @@ note: error occurred while deriving `UriDisplay` | 17 | #[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 @@ -45,6 +48,7 @@ note: error occurred while deriving `UriDisplay` | 24 | #[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 @@ -57,6 +61,7 @@ note: error occurred while deriving `UriDisplay` | 33 | #[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 @@ -69,6 +74,7 @@ note: error occurred while deriving `UriDisplay` | 40 | #[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 @@ -81,6 +87,7 @@ note: error occurred while deriving `UriDisplay` | 50 | #[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 @@ -93,6 +100,7 @@ note: error occurred while deriving `UriDisplay` | 56 | #[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 @@ -105,6 +113,7 @@ note: error occurred while deriving `UriDisplay` | 62 | #[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 @@ -120,12 +129,15 @@ note: error occurred while deriving `UriDisplay` | 68 | #[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) error[E0277]: the trait bound `Foo1: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:3:10 @@ -134,6 +146,7 @@ error[E0277]: the trait bound `Foo1: 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) error[E0277]: the trait bound `Foo1: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:3:10 @@ -142,12 +155,15 @@ error[E0277]: the trait bound `Foo1: 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) 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) error[E0277]: the trait bound `Foo2: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:10:10 @@ -156,6 +172,7 @@ error[E0277]: the trait bound `Foo2: 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) error[E0277]: the trait bound `Foo2: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:10:10 @@ -164,12 +181,15 @@ error[E0277]: the trait bound `Foo2: 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) 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) error[E0277]: the trait bound `Foo3: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:17:10 @@ -178,6 +198,7 @@ error[E0277]: the trait bound `Foo3: 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) error[E0277]: the trait bound `Foo3: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:17:10 @@ -186,12 +207,15 @@ error[E0277]: the trait bound `Foo3: 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) 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) error[E0277]: the trait bound `Foo4: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:24:10 @@ -200,6 +224,7 @@ error[E0277]: the trait bound `Foo4: 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) error[E0277]: the trait bound `Foo4: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:24:10 @@ -208,12 +233,15 @@ error[E0277]: the trait bound `Foo4: 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) 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) error[E0277]: the trait bound `Foo5: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:33:10 @@ -222,6 +250,7 @@ error[E0277]: the trait bound `Foo5: 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) error[E0277]: the trait bound `Foo5: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:33:10 @@ -230,12 +259,15 @@ error[E0277]: the trait bound `Foo5: 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) 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) error[E0277]: the trait bound `Foo6: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:40:10 @@ -244,6 +276,7 @@ error[E0277]: the trait bound `Foo6: 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) error[E0277]: the trait bound `Foo6: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:40:10 @@ -252,12 +285,15 @@ error[E0277]: the trait bound `Foo6: 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) 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) error[E0277]: the trait bound `Foo7: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:50:10 @@ -266,12 +302,15 @@ error[E0277]: the trait bound `Foo7: 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) 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) error[E0277]: the trait bound `Foo8: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:56:10 @@ -280,12 +319,15 @@ error[E0277]: the trait bound `Foo8: 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) 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) error[E0277]: the trait bound `Foo9: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:62:10 @@ -294,12 +336,15 @@ error[E0277]: the trait bound `Foo9: 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) 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) error[E0277]: the trait bound `Foo10: rocket::http::uri::UriDisplay` is not satisfied --> $DIR/uri_display.rs:68:10 @@ -308,6 +353,7 @@ error[E0277]: the trait bound `Foo10: 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) error: aborting due to 36 previous errors