From 5cb243fc24dccd03ab749059a0d3df93ab698105 Mon Sep 17 00:00:00 2001 From: Jeb Rosen Date: Sun, 1 Aug 2021 12:24:48 -0700 Subject: [PATCH] Update UI tests for latest stable. --- .../ui-fail-stable/database-syntax.stderr | 16 +++--- .../ui-fail-stable/database-syntax.stderr | 2 +- .../tests/ui-fail-stable/async-entry.stderr | 14 ++--- .../tests/ui-fail-stable/catchers.stderr | 2 +- .../tests/ui-fail-stable/from_form.stderr | 56 +++++++++---------- .../ui-fail-stable/from_form_field.stderr | 32 +++++------ .../tests/ui-fail-stable/responder.stderr | 22 ++++---- .../route-attribute-general-syntax.stderr | 2 +- .../tests/ui-fail-stable/routes.stderr | 2 +- .../typed-uris-invalid-syntax.stderr | 2 +- .../tests/ui-fail-stable/uri_display.stderr | 18 +++--- 11 files changed, 84 insertions(+), 84 deletions(-) diff --git a/contrib/db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr b/contrib/db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr index 34c30028..8f3a5816 100644 --- a/contrib/db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr +++ b/contrib/db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr @@ -10,7 +10,7 @@ error: [note] error occurred while deriving `Database` 3 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected key/value `key = value` --> $DIR/database-syntax.rs:8:25 @@ -24,7 +24,7 @@ error: [note] error occurred while deriving `Database` 7 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected attribute parameter: `name` --> $DIR/database-syntax.rs:12:25 @@ -38,7 +38,7 @@ error: [note] error occurred while deriving `Database` 11 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) error: enums are not supported --> $DIR/database-syntax.rs:16:1 @@ -52,7 +52,7 @@ error: [note] error occurred while deriving `Database` 15 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) error: missing `#[database("name")]` attribute --> $DIR/database-syntax.rs:20:1 @@ -66,7 +66,7 @@ error: [note] error occurred while deriving `Database` 19 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) error: struct must have exactly one unnamed field --> $DIR/database-syntax.rs:23:1 @@ -80,7 +80,7 @@ error: [note] error occurred while deriving `Database` 22 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) error: struct must have exactly one unnamed field --> $DIR/database-syntax.rs:27:1 @@ -94,7 +94,7 @@ error: [note] error occurred while deriving `Database` 26 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) error: named structs are not supported --> $DIR/database-syntax.rs:31:1 @@ -108,4 +108,4 @@ error: [note] error occurred while deriving `Database` 30 | #[derive(Database)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Database` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/contrib/sync_db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr b/contrib/sync_db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr index ae39a3ad..35c0ad99 100644 --- a/contrib/sync_db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr +++ b/contrib/sync_db_pools/codegen/tests/ui-fail-stable/database-syntax.stderr @@ -4,7 +4,7 @@ error: unexpected end of input, expected string literal 6 | #[database] | ^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `database` (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-stable/async-entry.stderr b/core/codegen/tests/ui-fail-stable/async-entry.stderr index 00ea9147..d5eb48ef 100644 --- a/core/codegen/tests/ui-fail-stable/async-entry.stderr +++ b/core/codegen/tests/ui-fail-stable/async-entry.stderr @@ -4,7 +4,7 @@ error: attribute can only be applied to `async` functions 4 | #[rocket::main] | ^^^^^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `rocket::main` (in Nightly builds, run with -Z macro-backtrace for more info) error: [note] this function must be `async` --> $DIR/async-entry.rs:5:5 @@ -18,7 +18,7 @@ error: attribute can only be applied to `async` functions 16 | #[rocket::main] | ^^^^^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `rocket::main` (in Nightly builds, run with -Z macro-backtrace for more info) error: [note] this function must be `async` --> $DIR/async-entry.rs:17:5 @@ -33,7 +33,7 @@ error: attribute cannot be applied to `main` function 49 | #[rocket::launch] | ^^^^^^^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `rocket::launch` (in Nightly builds, run with -Z macro-backtrace for more info) error: [note] this function cannot be `main` --> $DIR/async-entry.rs:50:8 @@ -47,7 +47,7 @@ error: attribute can only be applied to functions that return a value 56 | #[rocket::launch] | ^^^^^^^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `rocket::launch` (in Nightly builds, run with -Z macro-backtrace for more info) error: [note] this function must return a value --> $DIR/async-entry.rs:57:5 @@ -61,7 +61,7 @@ error: attribute can only be applied to functions that return a value 64 | #[rocket::launch] | ^^^^^^^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `rocket::launch` (in Nightly builds, run with -Z macro-backtrace for more info) error: [note] this function must return a value --> $DIR/async-entry.rs:65:5 @@ -76,7 +76,7 @@ error: attribute cannot be applied to `main` function 79 | #[rocket::launch] | ^^^^^^^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `rocket::launch` (in Nightly builds, run with -Z macro-backtrace for more info) error: [note] this function cannot be `main` --> $DIR/async-entry.rs:80:8 @@ -91,7 +91,7 @@ error: attribute cannot be applied to `main` function 87 | #[rocket::launch] | ^^^^^^^^^^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `rocket::launch` (in Nightly builds, run with -Z macro-backtrace for more info) error: [note] this function cannot be `main` --> $DIR/async-entry.rs:88:14 diff --git a/core/codegen/tests/ui-fail-stable/catchers.stderr b/core/codegen/tests/ui-fail-stable/catchers.stderr index ca261acd..59f164bb 100644 --- a/core/codegen/tests/ui-fail-stable/catchers.stderr +++ b/core/codegen/tests/ui-fail-stable/catchers.stderr @@ -16,4 +16,4 @@ error: unexpected end of input, expected identifier 7 | let _ = catchers![a::]; | ^^^^^^^^^^^^^^ | - = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `catchers` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/core/codegen/tests/ui-fail-stable/from_form.stderr b/core/codegen/tests/ui-fail-stable/from_form.stderr index 1dd53327..a464db29 100644 --- a/core/codegen/tests/ui-fail-stable/from_form.stderr +++ b/core/codegen/tests/ui-fail-stable/from_form.stderr @@ -10,7 +10,7 @@ error: [note] error occurred while deriving `FromForm` 3 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: at least one field is required --> $DIR/from_form.rs:7:1 @@ -24,7 +24,7 @@ error: [note] error occurred while deriving `FromForm` 6 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: at least one field is required --> $DIR/from_form.rs:10:13 @@ -38,7 +38,7 @@ error: [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) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: tuple struct must have exactly one field --> $DIR/from_form.rs:16:12 @@ -52,7 +52,7 @@ error: [note] error occurred while deriving `FromForm` 15 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: only one lifetime is supported --> $DIR/from_form.rs:19:25 @@ -66,7 +66,7 @@ error: [note] error occurred while deriving `FromForm` 18 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']' @@ -81,7 +81,7 @@ error: [note] error occurred while deriving `FromForm` 26 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: field name conflicts with previous name --> $DIR/from_form.rs:36:5 @@ -107,7 +107,7 @@ error: [note] error occurred while deriving `FromForm` 32 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: field name conflicts with previous name --> $DIR/from_form.rs:43:20 @@ -133,7 +133,7 @@ error: [note] error occurred while deriving `FromForm` 39 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: field name conflicts with previous name --> $DIR/from_form.rs:50:20 @@ -159,7 +159,7 @@ error: [note] error occurred while deriving `FromForm` 47 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected attribute parameter: `field` --> $DIR/from_form.rs:56:28 @@ -173,7 +173,7 @@ error: [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) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected list `#[field(..)]`, found bare path "field" --> $DIR/from_form.rs:62:7 @@ -187,7 +187,7 @@ error: [note] error occurred while deriving `FromForm` 60 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected key/value `key = value` --> $DIR/from_form.rs:68:13 @@ -201,7 +201,7 @@ error: [note] error occurred while deriving `FromForm` 66 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected key/value `key = value` --> $DIR/from_form.rs:74:13 @@ -215,7 +215,7 @@ error: [note] error occurred while deriving `FromForm` 72 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected attribute parameter: `beep` --> $DIR/from_form.rs:80:13 @@ -229,7 +229,7 @@ error: [note] error occurred while deriving `FromForm` 78 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: field has conflicting names --> $DIR/from_form.rs:86:5 @@ -255,7 +255,7 @@ error: [note] error occurred while deriving `FromForm` 84 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected list `#[attr(..)]`, found bare boolean literal --> $DIR/from_form.rs:93:20 @@ -269,7 +269,7 @@ error: [note] error occurred while deriving `FromForm` 91 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected expression, found bare path "name" --> $DIR/from_form.rs:99:13 @@ -283,7 +283,7 @@ error: [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) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected list `#[attr(..)]`, found bare integer literal --> $DIR/from_form.rs:105:20 @@ -297,7 +297,7 @@ error: [note] error occurred while deriving `FromForm` 103 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']' @@ -312,7 +312,7 @@ error: [note] error occurred while deriving `FromForm` 109 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']' @@ -327,7 +327,7 @@ error: [note] error occurred while deriving `FromForm` 115 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']' @@ -342,7 +342,7 @@ error: [note] error occurred while deriving `FromForm` 121 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']' @@ -357,7 +357,7 @@ error: [note] error occurred while deriving `FromForm` 127 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']' @@ -372,7 +372,7 @@ error: [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) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid form field name --- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']' @@ -387,7 +387,7 @@ error: [note] error occurred while deriving `FromForm` 139 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate attribute parameter: default --> $DIR/from_form.rs:177:26 @@ -401,7 +401,7 @@ error: [note] error occurred while deriving `FromForm` 175 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate default field expression --- help: at most one `default` or `default_with` is allowed @@ -416,7 +416,7 @@ error: [note] error occurred while deriving `FromForm` 181 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate default expressions --- help: only one of `default` or `default_with` must be used @@ -437,7 +437,7 @@ error: [note] error occurred while deriving `FromForm` 188 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: duplicate default expressions --- help: only one of `default` or `default_with` must be used @@ -458,7 +458,7 @@ error: [note] error occurred while deriving `FromForm` 194 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find function `unknown` in this scope --> $DIR/from_form.rs:153:24 diff --git a/core/codegen/tests/ui-fail-stable/from_form_field.stderr b/core/codegen/tests/ui-fail-stable/from_form_field.stderr index fc2cc08e..4e4dcfdb 100644 --- a/core/codegen/tests/ui-fail-stable/from_form_field.stderr +++ b/core/codegen/tests/ui-fail-stable/from_form_field.stderr @@ -10,7 +10,7 @@ error: [note] error occurred while deriving `FromFormField` 3 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: tuple structs are not supported --> $DIR/from_form_field.rs:7:1 @@ -24,7 +24,7 @@ error: [note] error occurred while deriving `FromFormField` 6 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: named structs are not supported --> $DIR/from_form_field.rs:10:1 @@ -38,7 +38,7 @@ error: [note] error occurred while deriving `FromFormField` 9 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: variants cannot have fields --> $DIR/from_form_field.rs:16:6 @@ -52,7 +52,7 @@ error: [note] error occurred while deriving `FromFormField` 14 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: enum must have at least one variant --> $DIR/from_form_field.rs:20:1 @@ -66,7 +66,7 @@ error: [note] error occurred while deriving `FromFormField` 19 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: type generics are not supported --> $DIR/from_form_field.rs:23:11 @@ -80,7 +80,7 @@ error: [note] error occurred while deriving `FromFormField` 22 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid value: expected string literal --> $DIR/from_form_field.rs:29:21 @@ -94,7 +94,7 @@ error: [note] error occurred while deriving `FromFormField` 27 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected literal, found bare path "value" --> $DIR/from_form_field.rs:35:13 @@ -108,7 +108,7 @@ error: [note] error occurred while deriving `FromFormField` 33 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: variant has conflicting values --> $DIR/from_form_field.rs:41:5 @@ -134,7 +134,7 @@ error: [note] error occurred while deriving `FromFormField` 39 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: field value conflicts with previous value --> $DIR/from_form_field.rs:50:21 @@ -160,7 +160,7 @@ error: [note] error occurred while deriving `FromFormField` 46 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: field value conflicts with previous value --> $DIR/from_form_field.rs:57:21 @@ -186,7 +186,7 @@ error: [note] error occurred while deriving `FromFormField` 54 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: variant has conflicting values --> $DIR/from_form_field.rs:80:5 @@ -212,7 +212,7 @@ error: [note] error occurred while deriving `FromFormField` 78 | #[derive(FromFormField)] | ^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromFormField` (in Nightly builds, run with -Z macro-backtrace for more info) error: field has conflicting names --> $DIR/from_form_field.rs:87:5 @@ -238,7 +238,7 @@ error: [note] error occurred while deriving `FromForm` 85 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: field name conflicts with previous name --> $DIR/from_form_field.rs:96:20 @@ -264,7 +264,7 @@ error: [note] error occurred while deriving `FromForm` 92 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: field name conflicts with previous name --> $DIR/from_form_field.rs:104:5 @@ -290,7 +290,7 @@ error: [note] error occurred while deriving `FromForm` 100 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) error: field name conflicts with previous name --> $DIR/from_form_field.rs:111:5 @@ -316,4 +316,4 @@ error: [note] error occurred while deriving `FromForm` 107 | #[derive(FromForm)] | ^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `FromForm` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/core/codegen/tests/ui-fail-stable/responder.stderr b/core/codegen/tests/ui-fail-stable/responder.stderr index 9f35b79c..2f03d170 100644 --- a/core/codegen/tests/ui-fail-stable/responder.stderr +++ b/core/codegen/tests/ui-fail-stable/responder.stderr @@ -10,7 +10,7 @@ error: [note] error occurred while deriving `Responder` 3 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: need at least one field --> $DIR/responder.rs:7:14 @@ -24,7 +24,7 @@ error: [note] error occurred while deriving `Responder` 6 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: need at least one field --> $DIR/responder.rs:13:12 @@ -38,7 +38,7 @@ error: [note] error occurred while deriving `Responder` 12 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: only one lifetime is supported --> $DIR/responder.rs:16:14 @@ -52,7 +52,7 @@ error: [note] error occurred while deriving `Responder` 15 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid or unknown content type --> $DIR/responder.rs:25:27 @@ -66,7 +66,7 @@ error: [note] error occurred while deriving `Responder` 24 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid or unknown content type --> $DIR/responder.rs:29:27 @@ -80,7 +80,7 @@ error: [note] error occurred while deriving `Responder` 28 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid value: expected string literal --> $DIR/responder.rs:33:27 @@ -94,7 +94,7 @@ error: [note] error occurred while deriving `Responder` 32 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: status must be in range [100, 599] --> $DIR/responder.rs:37:21 @@ -108,7 +108,7 @@ error: [note] error occurred while deriving `Responder` 36 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid value: expected unsigned integer literal --> $DIR/responder.rs:41:21 @@ -122,7 +122,7 @@ error: [note] error occurred while deriving `Responder` 40 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid value: expected unsigned integer literal --> $DIR/responder.rs:45:21 @@ -136,7 +136,7 @@ error: [note] error occurred while deriving `Responder` 44 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) error: invalid value: expected string literal --> $DIR/responder.rs:49:41 @@ -150,4 +150,4 @@ error: [note] error occurred while deriving `Responder` 48 | #[derive(Responder)] | ^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `Responder` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/core/codegen/tests/ui-fail-stable/route-attribute-general-syntax.stderr b/core/codegen/tests/ui-fail-stable/route-attribute-general-syntax.stderr index 98ecfb2a..9a8d3cd0 100644 --- a/core/codegen/tests/ui-fail-stable/route-attribute-general-syntax.stderr +++ b/core/codegen/tests/ui-fail-stable/route-attribute-general-syntax.stderr @@ -4,7 +4,7 @@ error: missing expected parameter: `uri` 4 | #[get()] | ^^^^^^^^ | - = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected `fn` --- help: #[get] can only be used on functions diff --git a/core/codegen/tests/ui-fail-stable/routes.stderr b/core/codegen/tests/ui-fail-stable/routes.stderr index 4da81dbb..1ec99110 100644 --- a/core/codegen/tests/ui-fail-stable/routes.stderr +++ b/core/codegen/tests/ui-fail-stable/routes.stderr @@ -16,4 +16,4 @@ error: unexpected end of input, expected identifier 7 | let _ = routes![a::]; | ^^^^^^^^^^^^ | - = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `routes` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/core/codegen/tests/ui-fail-stable/typed-uris-invalid-syntax.stderr b/core/codegen/tests/ui-fail-stable/typed-uris-invalid-syntax.stderr index 6f44c995..0fa00966 100644 --- a/core/codegen/tests/ui-fail-stable/typed-uris-invalid-syntax.stderr +++ b/core/codegen/tests/ui-fail-stable/typed-uris-invalid-syntax.stderr @@ -88,7 +88,7 @@ error: expected at least 1 argument, found none 26 | uri!(); | ^^^^^^^ | - = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `uri` (in Nightly builds, run with -Z macro-backtrace for more info) error: unexpected token --> $DIR/typed-uris-invalid-syntax.rs:27:16 diff --git a/core/codegen/tests/ui-fail-stable/uri_display.stderr b/core/codegen/tests/ui-fail-stable/uri_display.stderr index 8705f14b..deacb670 100644 --- a/core/codegen/tests/ui-fail-stable/uri_display.stderr +++ b/core/codegen/tests/ui-fail-stable/uri_display.stderr @@ -10,7 +10,7 @@ error: [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) + = note: this error originates in the derive macro `UriDisplayQuery` (in Nightly builds, run with -Z macro-backtrace for more info) error: fieldless structs are not supported --> $DIR/uri_display.rs:7:1 @@ -24,7 +24,7 @@ error: [note] error occurred while deriving `UriDisplay` 6 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `UriDisplayQuery` (in Nightly builds, run with -Z macro-backtrace for more info) error: empty enums are not supported --> $DIR/uri_display.rs:10:11 @@ -38,7 +38,7 @@ error: [note] error occurred while deriving `UriDisplay` 9 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `UriDisplayQuery` (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:18:12 @@ -52,7 +52,7 @@ error: [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) + = note: this error originates in the derive macro `UriDisplayQuery` (in Nightly builds, run with -Z macro-backtrace for more info) error: expected list `#[attr(..)]`, found bare integer literal --> $DIR/uri_display.rs:22:20 @@ -66,7 +66,7 @@ error: [note] error occurred while deriving `UriDisplay` 20 | #[derive(UriDisplayQuery)] | ^^^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `UriDisplayQuery` (in Nightly builds, run with -Z macro-backtrace for more info) error: struct must have exactly one field --> $DIR/uri_display.rs:27:12 @@ -80,7 +80,7 @@ error: [note] error occurred while deriving `UriDisplay` 26 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `UriDisplayPath` (in Nightly builds, run with -Z macro-backtrace for more info) error: struct must have exactly one field --> $DIR/uri_display.rs:30:1 @@ -94,7 +94,7 @@ error: [note] error occurred while deriving `UriDisplay` 29 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `UriDisplayPath` (in Nightly builds, run with -Z macro-backtrace for more info) error: enums are not supported --> $DIR/uri_display.rs:33:1 @@ -108,7 +108,7 @@ error: [note] error occurred while deriving `UriDisplay` 32 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `UriDisplayPath` (in Nightly builds, run with -Z macro-backtrace for more info) error: named structs are not supported --> $DIR/uri_display.rs:36:1 @@ -122,4 +122,4 @@ error: [note] error occurred while deriving `UriDisplay` 35 | #[derive(UriDisplayPath)] | ^^^^^^^^^^^^^^ | - = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `UriDisplayPath` (in Nightly builds, run with -Z macro-backtrace for more info)