2015-04-14 21:17:14 +03:00
|
|
|
fn main() {
|
2025-04-05 19:19:56 +03:00
|
|
|
1.create_a_type_error[ //~ ERROR `{integer}` is a primitive type and therefore doesn't have fields
|
2019-12-11 23:11:32 +01:00
|
|
|
()+() //~ ERROR cannot add
|
2015-04-14 21:17:14 +03:00
|
|
|
// ^ ensure that we typeck the inner expression ^
|
|
|
|
];
|
|
|
|
}
|