-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-grammarArea: The grammar of RustArea: The grammar of Rust
Description
#![feature(tuple_indexing)]
fn main() {
let t = (0i,);
println!("{}", t.0::<Vec<uint>>)
}
Compiles and prints 0
. Generic type parameters on tuple indexing like this should be illegal.
cc #18680
Metadata
Metadata
Assignees
Labels
A-grammarArea: The grammar of RustArea: The grammar of Rust