2018-10-25 09:53:04 +00:00
|
|
|
error: fieldless structs or variants are not supported
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:4:8
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
4 | struct Foo1;
|
|
|
|
| ^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:3:10
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
3 | #[derive(UriDisplayQuery)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
|
|
error: fieldless structs or variants are not supported
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:7:8
|
|
|
|
|
|
|
|
|
7 | struct Foo2();
|
|
|
|
| ^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:6:10
|
|
|
|
|
|
|
|
|
6 | #[derive(UriDisplayQuery)]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
|
|
error: empty enums are not supported
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:10:11
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
10 | enum Foo3 { }
|
|
|
|
| ^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:9:10
|
|
|
|
|
|
|
|
|
9 | #[derive(UriDisplayQuery)]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
|
|
error: fieldless structs or variants are not supported
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:14:5
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
14 | Variant,
|
2018-10-25 09:53:04 +00:00
|
|
|
| ^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:12:10
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
12 | #[derive(UriDisplayQuery)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
|
|
error: tuple structs or variants must have exactly one field
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:18:12
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
18 | struct Foo5(String, String);
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:17:10
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
17 | #[derive(UriDisplayQuery)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
|
|
error: invalid value: expected string literal
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:22:20
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
22 | #[form(field = 123)]
|
2018-10-25 09:53:04 +00:00
|
|
|
| ^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:20:10
|
2018-10-25 09:53:04 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
20 | #[derive(UriDisplayQuery)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-10-25 09:53:04 +00:00
|
|
|
|
2018-11-27 16:01:47 +00:00
|
|
|
error: struct must have exactly one field
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:27:12
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
27 | struct Foo7(String, usize);
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:26:10
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
26 | #[derive(UriDisplayPath)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
|
|
error: struct must have exactly one field
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:30:8
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
30 | struct Foo8;
|
|
|
|
| ^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:29:10
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
29 | #[derive(UriDisplayPath)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
|
|
error: enums are not supported
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:33:1
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
33 | enum Foo9 { }
|
2020-07-20 22:02:10 +00:00
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:32:10
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
32 | #[derive(UriDisplayPath)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
|
|
error: named structs are not supported
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:36:1
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
36 | struct Foo10 {
|
2020-07-20 22:02:10 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: [note] error occurred while deriving `UriDisplay`
|
2020-07-21 17:23:59 +00:00
|
|
|
--> $DIR/uri_display.rs:35:10
|
2018-11-27 16:01:47 +00:00
|
|
|
|
|
2020-07-21 17:23:59 +00:00
|
|
|
35 | #[derive(UriDisplayPath)]
|
2018-11-27 16:01:47 +00:00
|
|
|
| ^^^^^^^^^^^^^^
|
2020-07-20 22:02:10 +00:00
|
|
|
|
|
2020-02-15 11:51:40 +00:00
|
|
|
= note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
|