blob: f358b8b90171ded146b19233e020873dbfc0f0f3 [file] [log] [blame]
fn main() {
1.create_a_type_error[ //~ ERROR `{integer}` is a primitive type and therefore doesn't have fields
()+() //~ ERROR cannot add
// ^ ensure that we typeck the inner expression ^
];
}