Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 275 Bytes
// build-pass (FIXME(62277): could be check-pass?)
trait FooTrait {}
trait BarTrait {
fn foo<T: FooTrait>(_: T) -> Self;
struct FooStruct(u32);
impl BarTrait for FooStruct {
fn foo<T: FooTrait>(_: T) -> Self {
fn main() {}
You can’t perform that action at this time.