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