Add tests for #2818
This commit is contained in:
parent
bc16d8864a
commit
008aa88d6e
2 changed files with 12 additions and 0 deletions
|
|
@ -281,3 +281,7 @@ struct Test {
|
|||
pub join: Vec<String>,
|
||||
#[serde(default)] pub tls: bool,
|
||||
}
|
||||
|
||||
// #2818
|
||||
struct Paren((i32)) where i32: Trait;
|
||||
struct Parens((i32, i32)) where i32: Trait;
|
||||
|
|
|
|||
|
|
@ -334,3 +334,11 @@ struct Test {
|
|||
#[serde(default)]
|
||||
pub tls: bool,
|
||||
}
|
||||
|
||||
// #2818
|
||||
struct Paren((i32))
|
||||
where
|
||||
i32: Trait;
|
||||
struct Parens((i32, i32))
|
||||
where
|
||||
i32: Trait;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue