main()1 fn main() { // we don't complain about the return type being `{integer}`
2     let t = (42, 42);
3     t.0::<isize>; //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `::`
4 }
5 
foo() -> usize6 fn foo() -> usize { // we don't complain about the return type being unit
7     let t = (42, 42);
8     t.0::<isize>; //~ ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `::`
9     42;
10 }
11