about summary refs log tree commit diff
path: root/tests/ui/issues/issue-24363.rs
blob: f358b8b90171ded146b19233e020873dbfc0f0f3 (plain)
1
2
3
4
5
6
fn main() {
    1.create_a_type_error[ //~ ERROR `{integer}` is a primitive type and therefore doesn't have fields
        ()+() //~ ERROR cannot add
              //   ^ ensure that we typeck the inner expression ^
    ];
}