Add a test for #2491
This commit is contained in:
parent
a6b574bfa7
commit
b2d3daccfa
@ -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…
x
Reference in New Issue
Block a user