Closed
Description
See (XFAILed) run-pass/generic-obj.rs for sample testcase. A method that takes an argument whose type is a type-parameter of its enclosing object, e.g.
obj fooer[T]() { fn foo(T t) {} }
causes rustboot to get-element-pointer on something dynamically-sized during translation. Methods returning T to work fine, on the other hand.