Closed
Description
This is a planned part of DST. Example from RFC:
fn foo<Sized? T: SomeTrait>(y: &T) { ... }
fn bar(x: &SomeTrait) {
foo(x)
}
should be permitted even if there is no explicit impl of SomeTrait
for &SomeTrait
.
This is a planned part of DST. Example from RFC:
fn foo<Sized? T: SomeTrait>(y: &T) { ... }
fn bar(x: &SomeTrait) {
foo(x)
}
should be permitted even if there is no explicit impl of SomeTrait
for &SomeTrait
.