//@ run-pass #![allow(dead_code)] use std::any::type_name; struct Foo { x: T } pub fn main() { assert_eq!(type_name::(), "isize"); assert_eq!(type_name::>(), "tydesc_name::Foo"); }