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