Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-3214.rs
blob: 9a727aa3057977605d7521c8138e09464f65d2f2 [
file
] [
log
] [
blame
]
fn
foo
<
T
>()
{
struct
Foo
{
x
:
T
,
//~ ERROR can't use generic parameters from outer function
}
impl
<
T
>
Drop
for
Foo
<
T
>
{
//~^ ERROR wrong number of type arguments
fn
drop
(&
mut
self
)
{}
}
}
fn
main
()
{
}