diff options
author | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
commit | a990de90fe41456a23e58bd087d2f107d321f3a1 (patch) | |
tree | 15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/serde_json/tests/ui | |
parent | 3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff) | |
download | fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip |
Deleted vendor folder
Diffstat (limited to 'vendor/serde_json/tests/ui')
20 files changed, 0 insertions, 136 deletions
diff --git a/vendor/serde_json/tests/ui/missing_colon.rs b/vendor/serde_json/tests/ui/missing_colon.rs deleted file mode 100644 index d93b7b9..0000000 --- a/vendor/serde_json/tests/ui/missing_colon.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "a" }); -} diff --git a/vendor/serde_json/tests/ui/missing_colon.stderr b/vendor/serde_json/tests/ui/missing_colon.stderr deleted file mode 100644 index 1515211..0000000 --- a/vendor/serde_json/tests/ui/missing_colon.stderr +++ /dev/null @@ -1,12 +0,0 @@ -error: unexpected end of macro invocation - --> tests/ui/missing_colon.rs:4:5 - | -4 | json!({ "a" }); - | ^^^^^^^^^^^^^^ missing tokens in macro arguments - | -note: while trying to match `@` - --> src/macros.rs - | - | (@array [$($elems:expr,)*]) => { - | ^ - = note: this error originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/vendor/serde_json/tests/ui/missing_comma.rs b/vendor/serde_json/tests/ui/missing_comma.rs deleted file mode 100644 index 8818c3e..0000000 --- a/vendor/serde_json/tests/ui/missing_comma.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "1": "" "2": "" }); -} diff --git a/vendor/serde_json/tests/ui/missing_comma.stderr b/vendor/serde_json/tests/ui/missing_comma.stderr deleted file mode 100644 index bafa0f8..0000000 --- a/vendor/serde_json/tests/ui/missing_comma.stderr +++ /dev/null @@ -1,13 +0,0 @@ -error: no rules expected the token `"2"` - --> tests/ui/missing_comma.rs:4:21 - | -4 | json!({ "1": "" "2": "" }); - | -^^^ no rules expected this token in macro call - | | - | help: missing comma here - | -note: while trying to match `,` - --> src/macros.rs - | - | ($e:expr , $($tt:tt)*) => {}; - | ^ diff --git a/vendor/serde_json/tests/ui/missing_value.rs b/vendor/serde_json/tests/ui/missing_value.rs deleted file mode 100644 index 0ba14e2..0000000 --- a/vendor/serde_json/tests/ui/missing_value.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "a" : }); -} diff --git a/vendor/serde_json/tests/ui/missing_value.stderr b/vendor/serde_json/tests/ui/missing_value.stderr deleted file mode 100644 index 9c9de99..0000000 --- a/vendor/serde_json/tests/ui/missing_value.stderr +++ /dev/null @@ -1,12 +0,0 @@ -error: unexpected end of macro invocation - --> tests/ui/missing_value.rs:4:5 - | -4 | json!({ "a" : }); - | ^^^^^^^^^^^^^^^^ missing tokens in macro arguments - | -note: while trying to match `@` - --> src/macros.rs - | - | (@array [$($elems:expr,)*]) => { - | ^ - = note: this error originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/vendor/serde_json/tests/ui/not_found.rs b/vendor/serde_json/tests/ui/not_found.rs deleted file mode 100644 index 2df6870..0000000 --- a/vendor/serde_json/tests/ui/not_found.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "a" : x }); -} diff --git a/vendor/serde_json/tests/ui/not_found.stderr b/vendor/serde_json/tests/ui/not_found.stderr deleted file mode 100644 index 6fec180..0000000 --- a/vendor/serde_json/tests/ui/not_found.stderr +++ /dev/null @@ -1,5 +0,0 @@ -error[E0425]: cannot find value `x` in this scope - --> tests/ui/not_found.rs:4:19 - | -4 | json!({ "a" : x }); - | ^ not found in this scope diff --git a/vendor/serde_json/tests/ui/parse_expr.rs b/vendor/serde_json/tests/ui/parse_expr.rs deleted file mode 100644 index e7f1805..0000000 --- a/vendor/serde_json/tests/ui/parse_expr.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "a" : ~ }); -} diff --git a/vendor/serde_json/tests/ui/parse_expr.stderr b/vendor/serde_json/tests/ui/parse_expr.stderr deleted file mode 100644 index cd3e1c9..0000000 --- a/vendor/serde_json/tests/ui/parse_expr.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error: no rules expected the token `~` - --> tests/ui/parse_expr.rs:4:19 - | -4 | json!({ "a" : ~ }); - | ^ no rules expected this token in macro call - | -note: while trying to match meta-variable `$e:expr` - --> src/macros.rs - | - | ($e:expr , $($tt:tt)*) => {}; - | ^^^^^^^ diff --git a/vendor/serde_json/tests/ui/parse_key.rs b/vendor/serde_json/tests/ui/parse_key.rs deleted file mode 100644 index 858bd71..0000000 --- a/vendor/serde_json/tests/ui/parse_key.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "".s : true }); -} diff --git a/vendor/serde_json/tests/ui/parse_key.stderr b/vendor/serde_json/tests/ui/parse_key.stderr deleted file mode 100644 index 15662dc..0000000 --- a/vendor/serde_json/tests/ui/parse_key.stderr +++ /dev/null @@ -1,5 +0,0 @@ -error[E0609]: no field `s` on type `&'static str` - --> tests/ui/parse_key.rs:4:16 - | -4 | json!({ "".s : true }); - | ^ unknown field diff --git a/vendor/serde_json/tests/ui/unexpected_after_array_element.rs b/vendor/serde_json/tests/ui/unexpected_after_array_element.rs deleted file mode 100644 index 226c58c..0000000 --- a/vendor/serde_json/tests/ui/unexpected_after_array_element.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!([ true => ]); -} diff --git a/vendor/serde_json/tests/ui/unexpected_after_array_element.stderr b/vendor/serde_json/tests/ui/unexpected_after_array_element.stderr deleted file mode 100644 index ef449f7..0000000 --- a/vendor/serde_json/tests/ui/unexpected_after_array_element.stderr +++ /dev/null @@ -1,7 +0,0 @@ -error: no rules expected the token `=>` - --> tests/ui/unexpected_after_array_element.rs:4:18 - | -4 | json!([ true => ]); - | ^^ no rules expected this token in macro call - | - = note: while trying to match end of macro diff --git a/vendor/serde_json/tests/ui/unexpected_after_map_entry.rs b/vendor/serde_json/tests/ui/unexpected_after_map_entry.rs deleted file mode 100644 index 0dfb731..0000000 --- a/vendor/serde_json/tests/ui/unexpected_after_map_entry.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "k": true => }); -} diff --git a/vendor/serde_json/tests/ui/unexpected_after_map_entry.stderr b/vendor/serde_json/tests/ui/unexpected_after_map_entry.stderr deleted file mode 100644 index c62d90b..0000000 --- a/vendor/serde_json/tests/ui/unexpected_after_map_entry.stderr +++ /dev/null @@ -1,7 +0,0 @@ -error: no rules expected the token `=>` - --> tests/ui/unexpected_after_map_entry.rs:4:23 - | -4 | json!({ "k": true => }); - | ^^ no rules expected this token in macro call - | - = note: while trying to match end of macro diff --git a/vendor/serde_json/tests/ui/unexpected_colon.rs b/vendor/serde_json/tests/ui/unexpected_colon.rs deleted file mode 100644 index e767ea6..0000000 --- a/vendor/serde_json/tests/ui/unexpected_colon.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ : true }); -} diff --git a/vendor/serde_json/tests/ui/unexpected_colon.stderr b/vendor/serde_json/tests/ui/unexpected_colon.stderr deleted file mode 100644 index 7e47726..0000000 --- a/vendor/serde_json/tests/ui/unexpected_colon.stderr +++ /dev/null @@ -1,7 +0,0 @@ -error: no rules expected the token `:` - --> tests/ui/unexpected_colon.rs:4:13 - | -4 | json!({ : true }); - | ^ no rules expected this token in macro call - | - = note: while trying to match end of macro diff --git a/vendor/serde_json/tests/ui/unexpected_comma.rs b/vendor/serde_json/tests/ui/unexpected_comma.rs deleted file mode 100644 index 338874e..0000000 --- a/vendor/serde_json/tests/ui/unexpected_comma.rs +++ /dev/null @@ -1,5 +0,0 @@ -use serde_json::json; - -fn main() { - json!({ "a" , "b": true }); -} diff --git a/vendor/serde_json/tests/ui/unexpected_comma.stderr b/vendor/serde_json/tests/ui/unexpected_comma.stderr deleted file mode 100644 index 552f399..0000000 --- a/vendor/serde_json/tests/ui/unexpected_comma.stderr +++ /dev/null @@ -1,7 +0,0 @@ -error: no rules expected the token `,` - --> tests/ui/unexpected_comma.rs:4:17 - | -4 | json!({ "a" , "b": true }); - | ^ no rules expected this token in macro call - | - = note: while trying to match end of macro |