summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-22289.rs
blob: e1b3dfe5b61bd39d66522943f610d12ac5d43c58 (plain)
1
2
3
fn main() {
    0 as &dyn std::any::Any; //~ ERROR non-primitive cast
}