]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22289.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-22289.rs
1 fn main() {
2     0 as &dyn std::any::Any; //~ ERROR non-primitive cast
3 }