mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-19 16:09:08 +00:00
Update UI tests for latest stable.
This commit is contained in:
parent
26ca47b03d
commit
5cb243fc24
@ -10,7 +10,7 @@ error: [note] error occurred while deriving `Database`
|
|||||||
3 | #[derive(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`
|
error: expected key/value `key = value`
|
||||||
--> $DIR/database-syntax.rs:8:25
|
--> $DIR/database-syntax.rs:8:25
|
||||||
@ -24,7 +24,7 @@ error: [note] error occurred while deriving `Database`
|
|||||||
7 | #[derive(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`
|
error: unexpected attribute parameter: `name`
|
||||||
--> $DIR/database-syntax.rs:12:25
|
--> $DIR/database-syntax.rs:12:25
|
||||||
@ -38,7 +38,7 @@ error: [note] error occurred while deriving `Database`
|
|||||||
11 | #[derive(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
|
error: enums are not supported
|
||||||
--> $DIR/database-syntax.rs:16:1
|
--> $DIR/database-syntax.rs:16:1
|
||||||
@ -52,7 +52,7 @@ error: [note] error occurred while deriving `Database`
|
|||||||
15 | #[derive(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
|
error: missing `#[database("name")]` attribute
|
||||||
--> $DIR/database-syntax.rs:20:1
|
--> $DIR/database-syntax.rs:20:1
|
||||||
@ -66,7 +66,7 @@ error: [note] error occurred while deriving `Database`
|
|||||||
19 | #[derive(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
|
error: struct must have exactly one unnamed field
|
||||||
--> $DIR/database-syntax.rs:23:1
|
--> $DIR/database-syntax.rs:23:1
|
||||||
@ -80,7 +80,7 @@ error: [note] error occurred while deriving `Database`
|
|||||||
22 | #[derive(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
|
error: struct must have exactly one unnamed field
|
||||||
--> $DIR/database-syntax.rs:27:1
|
--> $DIR/database-syntax.rs:27:1
|
||||||
@ -94,7 +94,7 @@ error: [note] error occurred while deriving `Database`
|
|||||||
26 | #[derive(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
|
error: named structs are not supported
|
||||||
--> $DIR/database-syntax.rs:31:1
|
--> $DIR/database-syntax.rs:31:1
|
||||||
@ -108,4 +108,4 @@ error: [note] error occurred while deriving `Database`
|
|||||||
30 | #[derive(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)
|
||||||
|
@ -4,7 +4,7 @@ error: unexpected end of input, expected string literal
|
|||||||
6 | #[database]
|
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
|
error: expected string literal
|
||||||
--> $DIR/database-syntax.rs:9:12
|
--> $DIR/database-syntax.rs:9:12
|
||||||
|
@ -4,7 +4,7 @@ error: attribute can only be applied to `async` functions
|
|||||||
4 | #[rocket::main]
|
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`
|
error: [note] this function must be `async`
|
||||||
--> $DIR/async-entry.rs:5:5
|
--> $DIR/async-entry.rs:5:5
|
||||||
@ -18,7 +18,7 @@ error: attribute can only be applied to `async` functions
|
|||||||
16 | #[rocket::main]
|
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`
|
error: [note] this function must be `async`
|
||||||
--> $DIR/async-entry.rs:17:5
|
--> $DIR/async-entry.rs:17:5
|
||||||
@ -33,7 +33,7 @@ error: attribute cannot be applied to `main` function
|
|||||||
49 | #[rocket::launch]
|
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`
|
error: [note] this function cannot be `main`
|
||||||
--> $DIR/async-entry.rs:50:8
|
--> $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]
|
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
|
error: [note] this function must return a value
|
||||||
--> $DIR/async-entry.rs:57:5
|
--> $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]
|
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
|
error: [note] this function must return a value
|
||||||
--> $DIR/async-entry.rs:65:5
|
--> $DIR/async-entry.rs:65:5
|
||||||
@ -76,7 +76,7 @@ error: attribute cannot be applied to `main` function
|
|||||||
79 | #[rocket::launch]
|
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`
|
error: [note] this function cannot be `main`
|
||||||
--> $DIR/async-entry.rs:80:8
|
--> $DIR/async-entry.rs:80:8
|
||||||
@ -91,7 +91,7 @@ error: attribute cannot be applied to `main` function
|
|||||||
87 | #[rocket::launch]
|
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`
|
error: [note] this function cannot be `main`
|
||||||
--> $DIR/async-entry.rs:88:14
|
--> $DIR/async-entry.rs:88:14
|
||||||
|
@ -16,4 +16,4 @@ error: unexpected end of input, expected identifier
|
|||||||
7 | let _ = catchers![a::];
|
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)
|
||||||
|
@ -10,7 +10,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
3 | #[derive(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
|
error: at least one field is required
|
||||||
--> $DIR/from_form.rs:7:1
|
--> $DIR/from_form.rs:7:1
|
||||||
@ -24,7 +24,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
6 | #[derive(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
|
error: at least one field is required
|
||||||
--> $DIR/from_form.rs:10:13
|
--> $DIR/from_form.rs:10:13
|
||||||
@ -38,7 +38,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
9 | #[derive(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
|
error: tuple struct must have exactly one field
|
||||||
--> $DIR/from_form.rs:16:12
|
--> $DIR/from_form.rs:16:12
|
||||||
@ -52,7 +52,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
15 | #[derive(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
|
error: only one lifetime is supported
|
||||||
--> $DIR/from_form.rs:19:25
|
--> $DIR/from_form.rs:19:25
|
||||||
@ -66,7 +66,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
18 | #[derive(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
|
error: invalid form field name
|
||||||
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
||||||
@ -81,7 +81,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
26 | #[derive(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
|
error: field name conflicts with previous name
|
||||||
--> $DIR/from_form.rs:36:5
|
--> $DIR/from_form.rs:36:5
|
||||||
@ -107,7 +107,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
32 | #[derive(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
|
error: field name conflicts with previous name
|
||||||
--> $DIR/from_form.rs:43:20
|
--> $DIR/from_form.rs:43:20
|
||||||
@ -133,7 +133,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
39 | #[derive(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
|
error: field name conflicts with previous name
|
||||||
--> $DIR/from_form.rs:50:20
|
--> $DIR/from_form.rs:50:20
|
||||||
@ -159,7 +159,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
47 | #[derive(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`
|
error: unexpected attribute parameter: `field`
|
||||||
--> $DIR/from_form.rs:56:28
|
--> $DIR/from_form.rs:56:28
|
||||||
@ -173,7 +173,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
54 | #[derive(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"
|
error: expected list `#[field(..)]`, found bare path "field"
|
||||||
--> $DIR/from_form.rs:62:7
|
--> $DIR/from_form.rs:62:7
|
||||||
@ -187,7 +187,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
60 | #[derive(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`
|
error: expected key/value `key = value`
|
||||||
--> $DIR/from_form.rs:68:13
|
--> $DIR/from_form.rs:68:13
|
||||||
@ -201,7 +201,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
66 | #[derive(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`
|
error: expected key/value `key = value`
|
||||||
--> $DIR/from_form.rs:74:13
|
--> $DIR/from_form.rs:74:13
|
||||||
@ -215,7 +215,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
72 | #[derive(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`
|
error: unexpected attribute parameter: `beep`
|
||||||
--> $DIR/from_form.rs:80:13
|
--> $DIR/from_form.rs:80:13
|
||||||
@ -229,7 +229,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
78 | #[derive(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
|
error: field has conflicting names
|
||||||
--> $DIR/from_form.rs:86:5
|
--> $DIR/from_form.rs:86:5
|
||||||
@ -255,7 +255,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
84 | #[derive(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
|
error: expected list `#[attr(..)]`, found bare boolean literal
|
||||||
--> $DIR/from_form.rs:93:20
|
--> $DIR/from_form.rs:93:20
|
||||||
@ -269,7 +269,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
91 | #[derive(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"
|
error: expected expression, found bare path "name"
|
||||||
--> $DIR/from_form.rs:99:13
|
--> $DIR/from_form.rs:99:13
|
||||||
@ -283,7 +283,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
97 | #[derive(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
|
error: expected list `#[attr(..)]`, found bare integer literal
|
||||||
--> $DIR/from_form.rs:105:20
|
--> $DIR/from_form.rs:105:20
|
||||||
@ -297,7 +297,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
103 | #[derive(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
|
error: invalid form field name
|
||||||
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
||||||
@ -312,7 +312,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
109 | #[derive(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
|
error: invalid form field name
|
||||||
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
||||||
@ -327,7 +327,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
115 | #[derive(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
|
error: invalid form field name
|
||||||
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
||||||
@ -342,7 +342,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
121 | #[derive(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
|
error: invalid form field name
|
||||||
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
||||||
@ -357,7 +357,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
127 | #[derive(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
|
error: invalid form field name
|
||||||
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
||||||
@ -372,7 +372,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
133 | #[derive(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
|
error: invalid form field name
|
||||||
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
--- help: field name cannot be `isindex` or contain '&', '=', '?', '.', '[', ']'
|
||||||
@ -387,7 +387,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
139 | #[derive(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
|
error: duplicate attribute parameter: default
|
||||||
--> $DIR/from_form.rs:177:26
|
--> $DIR/from_form.rs:177:26
|
||||||
@ -401,7 +401,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
175 | #[derive(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
|
error: duplicate default field expression
|
||||||
--- help: at most one `default` or `default_with` is allowed
|
--- help: at most one `default` or `default_with` is allowed
|
||||||
@ -416,7 +416,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
181 | #[derive(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
|
error: duplicate default expressions
|
||||||
--- help: only one of `default` or `default_with` must be used
|
--- 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)]
|
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
|
error: duplicate default expressions
|
||||||
--- help: only one of `default` or `default_with` must be used
|
--- 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)]
|
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
|
error[E0425]: cannot find function `unknown` in this scope
|
||||||
--> $DIR/from_form.rs:153:24
|
--> $DIR/from_form.rs:153:24
|
||||||
|
@ -10,7 +10,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
3 | #[derive(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
|
error: tuple structs are not supported
|
||||||
--> $DIR/from_form_field.rs:7:1
|
--> $DIR/from_form_field.rs:7:1
|
||||||
@ -24,7 +24,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
6 | #[derive(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
|
error: named structs are not supported
|
||||||
--> $DIR/from_form_field.rs:10:1
|
--> $DIR/from_form_field.rs:10:1
|
||||||
@ -38,7 +38,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
9 | #[derive(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
|
error: variants cannot have fields
|
||||||
--> $DIR/from_form_field.rs:16:6
|
--> $DIR/from_form_field.rs:16:6
|
||||||
@ -52,7 +52,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
14 | #[derive(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
|
error: enum must have at least one variant
|
||||||
--> $DIR/from_form_field.rs:20:1
|
--> $DIR/from_form_field.rs:20:1
|
||||||
@ -66,7 +66,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
19 | #[derive(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
|
error: type generics are not supported
|
||||||
--> $DIR/from_form_field.rs:23:11
|
--> $DIR/from_form_field.rs:23:11
|
||||||
@ -80,7 +80,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
22 | #[derive(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
|
error: invalid value: expected string literal
|
||||||
--> $DIR/from_form_field.rs:29:21
|
--> $DIR/from_form_field.rs:29:21
|
||||||
@ -94,7 +94,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
27 | #[derive(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"
|
error: expected literal, found bare path "value"
|
||||||
--> $DIR/from_form_field.rs:35:13
|
--> $DIR/from_form_field.rs:35:13
|
||||||
@ -108,7 +108,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
33 | #[derive(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
|
error: variant has conflicting values
|
||||||
--> $DIR/from_form_field.rs:41:5
|
--> $DIR/from_form_field.rs:41:5
|
||||||
@ -134,7 +134,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
39 | #[derive(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
|
error: field value conflicts with previous value
|
||||||
--> $DIR/from_form_field.rs:50:21
|
--> $DIR/from_form_field.rs:50:21
|
||||||
@ -160,7 +160,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
46 | #[derive(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
|
error: field value conflicts with previous value
|
||||||
--> $DIR/from_form_field.rs:57:21
|
--> $DIR/from_form_field.rs:57:21
|
||||||
@ -186,7 +186,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
54 | #[derive(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
|
error: variant has conflicting values
|
||||||
--> $DIR/from_form_field.rs:80:5
|
--> $DIR/from_form_field.rs:80:5
|
||||||
@ -212,7 +212,7 @@ error: [note] error occurred while deriving `FromFormField`
|
|||||||
78 | #[derive(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
|
error: field has conflicting names
|
||||||
--> $DIR/from_form_field.rs:87:5
|
--> $DIR/from_form_field.rs:87:5
|
||||||
@ -238,7 +238,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
85 | #[derive(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
|
error: field name conflicts with previous name
|
||||||
--> $DIR/from_form_field.rs:96:20
|
--> $DIR/from_form_field.rs:96:20
|
||||||
@ -264,7 +264,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
92 | #[derive(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
|
error: field name conflicts with previous name
|
||||||
--> $DIR/from_form_field.rs:104:5
|
--> $DIR/from_form_field.rs:104:5
|
||||||
@ -290,7 +290,7 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
100 | #[derive(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
|
error: field name conflicts with previous name
|
||||||
--> $DIR/from_form_field.rs:111:5
|
--> $DIR/from_form_field.rs:111:5
|
||||||
@ -316,4 +316,4 @@ error: [note] error occurred while deriving `FromForm`
|
|||||||
107 | #[derive(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)
|
||||||
|
@ -10,7 +10,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
3 | #[derive(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
|
error: need at least one field
|
||||||
--> $DIR/responder.rs:7:14
|
--> $DIR/responder.rs:7:14
|
||||||
@ -24,7 +24,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
6 | #[derive(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
|
error: need at least one field
|
||||||
--> $DIR/responder.rs:13:12
|
--> $DIR/responder.rs:13:12
|
||||||
@ -38,7 +38,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
12 | #[derive(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
|
error: only one lifetime is supported
|
||||||
--> $DIR/responder.rs:16:14
|
--> $DIR/responder.rs:16:14
|
||||||
@ -52,7 +52,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
15 | #[derive(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
|
error: invalid or unknown content type
|
||||||
--> $DIR/responder.rs:25:27
|
--> $DIR/responder.rs:25:27
|
||||||
@ -66,7 +66,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
24 | #[derive(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
|
error: invalid or unknown content type
|
||||||
--> $DIR/responder.rs:29:27
|
--> $DIR/responder.rs:29:27
|
||||||
@ -80,7 +80,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
28 | #[derive(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
|
error: invalid value: expected string literal
|
||||||
--> $DIR/responder.rs:33:27
|
--> $DIR/responder.rs:33:27
|
||||||
@ -94,7 +94,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
32 | #[derive(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]
|
error: status must be in range [100, 599]
|
||||||
--> $DIR/responder.rs:37:21
|
--> $DIR/responder.rs:37:21
|
||||||
@ -108,7 +108,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
36 | #[derive(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
|
error: invalid value: expected unsigned integer literal
|
||||||
--> $DIR/responder.rs:41:21
|
--> $DIR/responder.rs:41:21
|
||||||
@ -122,7 +122,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
40 | #[derive(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
|
error: invalid value: expected unsigned integer literal
|
||||||
--> $DIR/responder.rs:45:21
|
--> $DIR/responder.rs:45:21
|
||||||
@ -136,7 +136,7 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
44 | #[derive(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
|
error: invalid value: expected string literal
|
||||||
--> $DIR/responder.rs:49:41
|
--> $DIR/responder.rs:49:41
|
||||||
@ -150,4 +150,4 @@ error: [note] error occurred while deriving `Responder`
|
|||||||
48 | #[derive(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)
|
||||||
|
@ -4,7 +4,7 @@ error: missing expected parameter: `uri`
|
|||||||
4 | #[get()]
|
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`
|
error: expected `fn`
|
||||||
--- help: #[get] can only be used on functions
|
--- help: #[get] can only be used on functions
|
||||||
|
@ -16,4 +16,4 @@ error: unexpected end of input, expected identifier
|
|||||||
7 | let _ = routes![a::];
|
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)
|
||||||
|
@ -88,7 +88,7 @@ error: expected at least 1 argument, found none
|
|||||||
26 | uri!();
|
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
|
error: unexpected token
|
||||||
--> $DIR/typed-uris-invalid-syntax.rs:27:16
|
--> $DIR/typed-uris-invalid-syntax.rs:27:16
|
||||||
|
@ -10,7 +10,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
3 | #[derive(UriDisplayQuery)]
|
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
|
error: fieldless structs are not supported
|
||||||
--> $DIR/uri_display.rs:7:1
|
--> $DIR/uri_display.rs:7:1
|
||||||
@ -24,7 +24,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
6 | #[derive(UriDisplayQuery)]
|
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
|
error: empty enums are not supported
|
||||||
--> $DIR/uri_display.rs:10:11
|
--> $DIR/uri_display.rs:10:11
|
||||||
@ -38,7 +38,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
9 | #[derive(UriDisplayQuery)]
|
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
|
error: tuple structs or variants must have exactly one field
|
||||||
--> $DIR/uri_display.rs:18:12
|
--> $DIR/uri_display.rs:18:12
|
||||||
@ -52,7 +52,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
17 | #[derive(UriDisplayQuery)]
|
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
|
error: expected list `#[attr(..)]`, found bare integer literal
|
||||||
--> $DIR/uri_display.rs:22:20
|
--> $DIR/uri_display.rs:22:20
|
||||||
@ -66,7 +66,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
20 | #[derive(UriDisplayQuery)]
|
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
|
error: struct must have exactly one field
|
||||||
--> $DIR/uri_display.rs:27:12
|
--> $DIR/uri_display.rs:27:12
|
||||||
@ -80,7 +80,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
26 | #[derive(UriDisplayPath)]
|
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
|
error: struct must have exactly one field
|
||||||
--> $DIR/uri_display.rs:30:1
|
--> $DIR/uri_display.rs:30:1
|
||||||
@ -94,7 +94,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
29 | #[derive(UriDisplayPath)]
|
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
|
error: enums are not supported
|
||||||
--> $DIR/uri_display.rs:33:1
|
--> $DIR/uri_display.rs:33:1
|
||||||
@ -108,7 +108,7 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
32 | #[derive(UriDisplayPath)]
|
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
|
error: named structs are not supported
|
||||||
--> $DIR/uri_display.rs:36:1
|
--> $DIR/uri_display.rs:36:1
|
||||||
@ -122,4 +122,4 @@ error: [note] error occurred while deriving `UriDisplay`
|
|||||||
35 | #[derive(UriDisplayPath)]
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user