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.
1 parent 515fb48 commit 53092d1Copy full SHA for 53092d1
[refs]
@@ -1,6 +1,6 @@
1
---
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
-refs/heads/snap-stage3: 2a128fa205f36074c8fbf4bc490e1ad0f76f38f6
+refs/heads/snap-stage3: 6c056fba4db7bd85a5fb3610bec6c00a7ad64f81
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
branches/snap-stage3/src/test/run-pass/borrowck-fixed-length-vecs.rs
@@ -0,0 +1,8 @@
+// xfail-fast (compile-flags unsupported on windows)
+// compile-flags:--borrowck=err
+
+fn main() {
+ let x = [22]/1;
+ let y = &x[0];
7
+ assert *y == 22;
8
+}
0 commit comments