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 0fc5c15 commit 0a931abCopy full SHA for 0a931ab
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: b92a7b790b526176d92faf471e1f6f5da95ef76f
+refs/heads/master: bcd3942f41252b989029683c33e61b3c92bf92ac
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
trunk/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