summary refs log tree commit diff
path: root/src/test/ui/parser/issue-19096.rs
blob: edc69e6f49f4dec0ac63867f31ec1dc247dbc345 (plain)
1
2
3
4
5
fn main() {
    let t = (42, 42);
    t.0::<isize>; //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `::`
                  //~| ERROR mismatched types
}