blob: f358b8b90171ded146b19233e020873dbfc0f0f3 (
plain)
1
2
3
4
5
6
|
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 ^
];
}
|