Skip to content

Commit 356a0c4

Browse files
committed
Add a test for #2746
1 parent a4db623 commit 356a0c4

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tests/source/impls.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,6 @@ impl Foo {
157157
impl<'a, 'b, 'c> SomeThing<Something> for (&'a mut SomethingLong, &'b mut SomethingLong, &'c mut SomethingLong) {
158158
fn foo() {}
159159
}
160+
161+
// #2746
162+
impl<'seq1, 'seq2, 'body, 'scope, Channel> Adc12< Dual, MasterRunningDma<'seq1, 'body, 'scope, Channel>, SlaveRunningDma<'seq2, 'body, 'scope>, > where Channel: DmaChannel, {}

tests/target/impls.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,3 +222,14 @@ impl<'a, 'b, 'c> SomeThing<Something>
222222
{
223223
fn foo() {}
224224
}
225+
226+
// #2746
227+
impl<'seq1, 'seq2, 'body, 'scope, Channel>
228+
Adc12<
229+
Dual,
230+
MasterRunningDma<'seq1, 'body, 'scope, Channel>,
231+
SlaveRunningDma<'seq2, 'body, 'scope>,
232+
>
233+
where
234+
Channel: DmaChannel,
235+
{}

0 commit comments

Comments
 (0)