We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 778f343 + 2c8e708 commit 07b9833Copy full SHA for 07b9833
src/test/ui/consts/promote_evaluation_unused_result.rs
@@ -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