We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b26fda commit 1140a91Copy full SHA for 1140a91
src/test/ui/consts/issue-62045.rs
@@ -0,0 +1,6 @@
1
+// compile-pass
2
+
3
+fn main() {
4
+ assert_eq!(&mut [0; 1][..], &mut []);
5
+}
6
0 commit comments