c34b1796 |
1 | fn main() { |
041b39d2 |
2 | 1.create_a_type_error[ //~ `{integer}` is a primitive type and therefore doesn't have fields |
d9579d0f AL |
3 | ()+() //~ ERROR binary operation `+` cannot be applied |
4 | // ^ ensure that we typeck the inner expression ^ |
5 | ]; |
c34b1796 |
6 | } |