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