]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24363.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[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 cannot add
4               //   ^ ensure that we typeck the inner expression ^
5     ];
6 }