Inconsistency with “at least one non-builtin trait is required for an object type” #37515
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Auto traits are alone allowed as object types in some cases and not others.
The following two lines are fine: (Using Send as an object type)
The following line has an error:
The second error seems to speak against the first two examples.
Tested using
rustc 1.14.0-nightly (3f4408347 2016-10-27)
The text was updated successfully, but these errors were encountered: