]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24363.rs
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-24363.rs
1 fn main() {
2     1.create_a_type_error[ //~ `{integer}` is a primitive type and therefore doesn't have fields
3         ()+() //~ ERROR binary operation `+` cannot be applied
4               //   ^ ensure that we typeck the inner expression ^
5     ];
6 }