trait hax { } impl of hax for A { } fn perform_hax(x: @T) -> hax { x as hax } fn deadcode() { perform_hax(@~"deadcode"); } fn main() { let _ = perform_hax(@42); }