Skip to content

Commit bcd3942

Browse files
committed
Fix a test I messed up.
1 parent b92a7b7 commit bcd3942

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
// error-pattern:cannot index a value of type `()`
12
fn main() {
23
let z = ();
3-
log(error, z[0]); //! ERROR cannot index a value of type `()`
4+
log(error, z[0]);
45
}

0 commit comments

Comments
 (0)