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 cb32900 commit c779d9aCopy full SHA for c779d9a
[refs]
@@ -1,6 +1,6 @@
1
---
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
-refs/heads/snap-stage3: b92a7b790b526176d92faf471e1f6f5da95ef76f
+refs/heads/snap-stage3: bcd3942f41252b989029683c33e61b3c92bf92ac
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
branches/snap-stage3/src/test/compile-fail/index_message.rs
@@ -1,4 +1,5 @@
+// error-pattern:cannot index a value of type `()`
fn main() {
let z = ();
- log(error, z[0]); //! ERROR cannot index a value of type `()`
+ log(error, z[0]);
}
0 commit comments