Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
type-inference
/
unbounded-type-param-in-fn-with-assoc-type.rs
blob: 81d054b3a1e078ceadedcff341c4d21a93bebd44 [
file
] [
log
] [
blame
]
#[
allow
(
invalid_type_param_default
)]
fn
foo
<
T
,
U
=
u64
>()
->
(
T
,
U
)
{
panic
!()
}
fn
main
()
{
foo
();
//~ ERROR type annotations needed
}