Skip to content

Commit

Permalink
Add regression test for issue 2415
Browse files Browse the repository at this point in the history
Currently fails:

    error: unexpected end of input, unexpected token in nested attribute, expected ident
     --> test_suite/tests/regression/issue2415.rs:4:9
      |
    4 | #[serde()]
      |         ^
  • Loading branch information
dtolnay committed Mar 28, 2023
1 parent acfd19c commit 6ab55a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test_suite/tests/regression/issue2415.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use serde_derive::Serialize;

#[derive(Serialize)]
#[serde()]
pub struct S;

0 comments on commit 6ab55a1

Please sign in to comment.