Fix a test I messed up.
This commit is contained in:
parent
b92a7b790b
commit
bcd3942f41
@ -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]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user