-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-type-systemArea: Type systemArea: Type system
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.
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type system