logoalt Hacker News

afdbcreid • yesterday at 10:00 PM • 1 reply • view on HN

Why not? I mean if you refer to Rust specifically, yes, because there is no subtyping except for lifetimes, only coercion (and `Any` also cannot contain any type). But in general, why not?


Replies

steveklabnik • yesterday at 10:14 PM

I am speaking about Rust specifically, yes.