serde/test_suite/tests
Mingun c3ac7b675a Add regression test for issue #1904
Currently panics in derive:

error: proc-macro derive panicked
    --> test_suite\tests\test_annotations.rs:2386:25
     |
2386 |     #[derive(Serialize, Deserialize, PartialEq, Debug)]
     |                         ^^^^^^^^^^^
     |
     = help: message: assertion failed: !cattrs.has_flatten()

error: proc-macro derive panicked
  --> test_suite\tests\regression\issue1904.rs:57:10
   |
57 | #[derive(Deserialize)]
   |          ^^^^^^^^^^^
   |
   = help: message: assertion failed: !cattrs.has_flatten()

error: proc-macro derive panicked
  --> test_suite\tests\regression\issue1904.rs:47:10
   |
47 | #[derive(Deserialize)]
   |          ^^^^^^^^^^^
   |
   = help: message: assertion failed: !cattrs.has_flatten()

error: proc-macro derive panicked
  --> test_suite\tests\regression\issue1904.rs:37:10
   |
37 | #[derive(Deserialize)]
   |          ^^^^^^^^^^^
   |
   = help: message: assertion failed: !cattrs.has_flatten()

error: proc-macro derive panicked
  --> test_suite\tests\regression\issue1904.rs:27:10
   |
27 | #[derive(Deserialize)]
   |          ^^^^^^^^^^^
   |
   = help: message: assertion failed: !cattrs.has_flatten()

error: proc-macro derive panicked
  --> test_suite\tests\regression\issue1904.rs:16:10
   |
16 | #[derive(Deserialize)]
   |          ^^^^^^^^^^^
   |
   = help: message: assertion failed: !cattrs.has_flatten()

error: proc-macro derive panicked
 --> test_suite\tests\regression\issue1904.rs:7:10
  |
7 | #[derive(Deserialize)]
  |          ^^^^^^^^^^^
  |
  = help: message: assertion failed: !cattrs.has_flatten()
2024-08-09 19:55:56 +05:00
..
bytes Replace try! macro in test suite 2018-12-31 21:46:14 -05:00
macros Ignore unused_macro_rules warning in test macros 2022-05-12 21:33:43 -07:00
regression Add regression test for issue #1904 2024-08-09 19:55:56 +05:00
ui Update ui test with diagnostic::on_unimplemented from PR 2767 2024-07-06 13:29:51 -07:00
unstable Import macros exclusively through serde_derive in test suite 2023-07-19 09:08:05 -07:00
compiletest.rs Fill in ignore reasons in all #[ignore] attributes 2024-06-01 22:13:43 -07:00
regression.rs Make a directory dedicated to regression tests 2023-03-08 19:02:42 -08:00
test_annotations.rs Add regression test for issue #1904 2024-08-09 19:55:56 +05:00
test_borrow.rs Work around test suite dead code warnings in nightly-2024-07-07 2024-07-06 19:26:29 -07:00
test_de_error.rs Resolve unexpected_cfgs warning 2024-05-07 16:55:01 -07:00
test_de.rs Work around test suite dead code warnings in nightly-2024-07-07 2024-07-06 19:26:29 -07:00
test_gen.rs Ignore confusable_idents warning in test 2024-08-07 18:19:51 -07:00
test_identifier.rs Add tests for aliases 2023-07-23 15:23:36 +05:00
test_ignored_any.rs Import macros exclusively through serde_derive in test suite 2023-07-19 09:08:05 -07:00
test_macros.rs Ignore new dead_code warnings in test 2024-03-11 20:10:30 -07:00
test_remote.rs Work around test suite dead code warnings in nightly-2024-07-07 2024-07-06 19:26:29 -07:00
test_roundtrip.rs Ungroup imports 2023-07-25 23:06:34 -07:00
test_self.rs Work around test suite dead code warnings in nightly-2024-07-07 2024-07-06 19:26:29 -07:00
test_ser.rs Implement Ser+De for Saturating<T> 2024-04-06 19:58:01 +02:00
test_serde_path.rs Ignore dead_code warnings in test 2024-02-07 22:15:42 -08:00
test_unstable.rs Ignore derive_partial_eq_without_eq clippy lint 2022-05-21 20:43:51 -07:00
test_value.rs A few minor write_str optimizations and inlining 2024-02-12 16:12:08 -05:00