Skip to content

Commit 07b9833

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 778f343 + 2c8e708 commit 07b9833

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
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)