2 // test that autoderef of a type like this does not
3 // cause compiler to loop. Note that no instances
4 // of such a type could ever be constructed.
6 struct T(#[allow(unused_tuple_struct_fields)] Box<T>);
9 fn my_to_string(&self) -> String;
13 fn my_to_string(&self) -> String { "t".to_string() }