blob: 2dde268097930dc42a46e196f4fb53fb33025540 [file] [log] [blame] [edit]
use std::mem::type_info::Type;
//~^ ERROR: use of unstable library feature `type_info`
fn main() {
let ty = std::mem::type_info::Type::of::<()>();
//~^ ERROR: use of unstable library feature `type_info`
//~| ERROR: use of unstable library feature `type_info`
}