We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c05b4 commit 613deb0Copy full SHA for 613deb0
src/test/compile-fail/index_message.rs
@@ -1,5 +1,4 @@
1
-// error-pattern:cannot index a value of type `()`
2
fn main() {
3
let z = ();
4
- log(error, z[0]);
+ log(debug, z[0]); //! ERROR cannot index a value of type `()`
5
}
0 commit comments