blob: 3829c481da8378c9195bbcc0dc18b1e0a0ba736b [file] [log] [blame]
use std::any::TypeId;
struct A;
fn main() {
const A_ID: TypeId = TypeId::of::<A>();
//~^ ERROR `std::any::TypeId::of` is not yet stable as a const fn
}