Add a test for #2491
This commit is contained in:
parent
a6b574bfa7
commit
b2d3daccfa
2 changed files with 16 additions and 0 deletions
|
|
@ -152,3 +152,8 @@ impl Foo {
|
|||
1
|
||||
}
|
||||
}
|
||||
|
||||
// #2491
|
||||
impl<'a, 'b, 'c> SomeThing<Something> for (&'a mut SomethingLong, &'b mut SomethingLong, &'c mut SomethingLong) {
|
||||
fn foo() {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -217,3 +217,14 @@ impl Foo {
|
|||
1
|
||||
}
|
||||
}
|
||||
|
||||
// #2491
|
||||
impl<'a, 'b, 'c> SomeThing<Something>
|
||||
for (
|
||||
&'a mut SomethingLong,
|
||||
&'b mut SomethingLong,
|
||||
&'c mut SomethingLong,
|
||||
)
|
||||
{
|
||||
fn foo() {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue