Skip to content

Commit 9a90c0e

Browse files
djcnagisa
authored andcommitted
Suppress warning in test
1 parent f48cd7d commit 9a90c0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/simple.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ fn recurse(n: usize) {
1313
if n != 0 {
1414
ensure_sufficient_stack(|| recurse(n - 1));
1515
}
16+
#[allow(dropping_copy_types)]
1617
drop(x);
1718
}
1819

0 commit comments

Comments
 (0)