Sign in
fuchsia
/
third_party
/
rust
/
51cc3cdcf060c1bf3e4d45947f7a6bc20f9960f7
/
.
/
src
/
test
/
ui
/
issues
/
issue-56202.rs
blob: bd222b7fe980ed64acc1101c8ac92c62a8d6ac46 [
file
] [
log
] [
blame
]
// compile-pass
trait
FooTrait
{}
trait
BarTrait
{
fn
foo
<
T
:
FooTrait
>(
_
:
T
)
->
Self
;
}
struct
FooStruct
(
u32
);
impl
BarTrait
for
FooStruct
{
fn
foo
<
T
:
FooTrait
>(
_
:
T
)
->
Self
{
Self
(
u32
::
default
())
}
}
fn
main
()
{}