Skip to content

Commit 24be56e

Browse files
committed
Add test cases for issue 5657
Closes 5657 PR 5252 resolves 5657
1 parent 6b35211 commit 24be56e

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

tests/source/issue_5657.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// rustfmt-max_width: 80
2+
3+
fn omg() {
4+
fn bar() {
5+
self.core
6+
.exchange::<LeaseBufReader<_, BUFSIZ>, _, LeaseBufWriter<_, BUFSIZ>, _>(
7+
device_index,
8+
src,
9+
dest,
10+
)
11+
.map_err(RequestError::from)
12+
}
13+
}

tests/target/issue_5657.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// rustfmt-max_width: 80
2+
3+
fn omg() {
4+
fn bar() {
5+
self.core
6+
.exchange::<
7+
LeaseBufReader<_, BUFSIZ>,
8+
_,
9+
LeaseBufWriter<_, BUFSIZ>,
10+
_,
11+
>(device_index, src, dest)
12+
.map_err(RequestError::from)
13+
}
14+
}

0 commit comments

Comments
 (0)