rust/tests/ui/indexing/index_message.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
110 B
Rust
Raw Normal View History

fn main() {
2023-04-08 21:32:36 +00:00
let z = (10,);
let _ = z[0]; //~ ERROR cannot index into a value of type `({integer},)`
}