]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-24363.rs
Rollup merge of #107112 - eltociear:patch-19, r=albertlarsan68
[rust.git] / tests / 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 cannot add
4               //   ^ ensure that we typeck the inner expression ^
5     ];
6 }