Sign in
fuchsia
/
third_party
/
rust
/
3bee49f42b6dfb039d2a8e59e5181e26531c3c11
/
.
/
src
/
test
/
ui
/
auxiliary
/
default-ty-param-cross-crate-crate.rs
blob: 612f99dbcf884f9d53c1706246a4fba991af3f9d [
file
] [
log
] [
blame
]
#![
crate_type
=
"lib"
]
#![
crate_name
=
"default_param_test"
]
#![
feature
(
default_type_parameter_fallback
)]
use
std
::
marker
::
PhantomData
;
pub
struct
Foo
<
A
,
B
>(
PhantomData
<(
A
,
B
)>);
pub
fn
bleh
<
A
=
i32
,
X
=
char
>()
->
Foo
<
A
,
X
>
{
Foo
(
PhantomData
)
}