We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a2437c + 2c8e708 commit cfa6a70Copy full SHA for cfa6a70
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