We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e57096d commit 6f6b372Copy full SHA for 6f6b372
src/test/ui/consts/const-prop-ice3.rs
@@ -0,0 +1,7 @@
1
+// run-pass (ensure that const-prop is run)
2
+
3
+struct A<T: ?Sized>(T);
4
5
+fn main() {
6
+ let _x = &(&A([2, 3]) as &A<[i32]>).0 as *const [i32] as *const i32;
7
+}
0 commit comments