Update trybuild output

This commit is contained in:
Jonas Platte 2023-03-10 10:59:52 +01:00
parent 4eb5033dd0
commit 25be562036
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
2 changed files with 14 additions and 38 deletions

View File

@ -1,19 +1,7 @@
error: no rules expected the token `history_impl`
--> tests/api/ui/deprecated-without-added.rs:3:21
error: no rules expected the token `deprecated`
--> tests/api/ui/deprecated-without-added.rs:9:16
|
3 | const _: Metadata = metadata! {
| _____________________^
4 | | method: GET,
5 | | rate_limited: false,
6 | | authentication: None,
... |
10 | | }
11 | | };
| |_^ no rules expected this token in macro call
9 | 1.1 => deprecated,
| ^^^^^^^^^^ no rules expected this token in macro call
|
note: while trying to match `field`
--> src/api.rs
|
| ( @field method: $method:ident ) => { $crate::exports::http::Method::$method };
| ^^^^^
= note: this error originates in the macro `$crate::metadata` which comes from the expansion of the macro `metadata` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: while trying to match sequence start

View File

@ -1,19 +1,7 @@
error: no rules expected the token `history_impl`
--> tests/api/ui/removed-without-deprecated.rs:3:28
error: no rules expected the token `removed`
--> tests/api/ui/removed-without-deprecated.rs:9:16
|
3 | const METADATA: Metadata = metadata! {
| ____________________________^
4 | | method: GET,
5 | | rate_limited: false,
6 | | authentication: None,
... |
10 | | }
11 | | };
| |_^ no rules expected this token in macro call
9 | 1.1 => removed,
| ^^^^^^^ no rules expected this token in macro call
|
note: while trying to match `field`
--> src/api.rs
|
| ( @field method: $method:ident ) => { $crate::exports::http::Method::$method };
| ^^^^^
= note: this error originates in the macro `$crate::metadata` which comes from the expansion of the macro `metadata` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: while trying to match sequence start