#[feature(managed_boxes)]; fn f(x: T) -> @T { @x //~ ERROR value may contain references } fn g(x: T) -> @T { @x // ok } fn main() {}