-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-trait-systemArea: Trait systemArea: Trait systemE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Description
fn foo() -> ~std::any::Any {
~3u32
}
test_trait.rs:4:5: 4:10 error: mismatched types: expected `~std::any::Any:Send` but found `~u32` (expected trait std::any::Any but found ~-ptr)
test_trait.rs:4 ~3u32
^~~~~
error: aborting due to previous error
I guess #11156 missed it?
Metadata
Metadata
Assignees
Labels
A-trait-systemArea: Trait systemArea: Trait systemE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.