8 lines
274 B
Rust
8 lines
274 B
Rust
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`
|
|
}
|