Skip to content

Commit cfa6a70

Browse files
committed
Rollup merge of rust-lang#58479 - saleemjaffer:test_promote_evaluation_unused_result, r=oli-obk
compile-pass test for rust-lang#53606 fixes rust-lang#53606
2 parents 9a2437c + 2c8e708 commit cfa6a70

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//compile-pass
2+
3+
#![feature(nll)]
4+
5+
fn main() {
6+
7+
let _: &'static usize = &(loop {}, 1).1;
8+
}

0 commit comments

Comments
 (0)