Skip to content

Commit 5c1ee17

Browse files
committed
Update new tests
1 parent 7569fca commit 5c1ee17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/issues/issue-48132.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ where I: Iterator,
2727
}
2828

2929
fn main() {
30-
outer(std::iter::once(&1).cloned());
30+
let _ = outer(std::iter::once(&1).cloned());
3131
}

src/test/ui/type-alias-impl-trait/issue-58951.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type A = impl Iterator;
77
fn def_a() -> A { 0..1 }
88

99
pub fn use_a() {
10-
def_a().map(|x| x);
10+
let _ = def_a().map(|x| x);
1111
}
1212

1313
fn main() {}

0 commit comments

Comments
 (0)