Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
issue-3214.rs
blob: b2c27f5be957c69ffad67e30456fa450a2eb3899 [
file
] [
log
] [
blame
] [
edit
]
fn
foo
<
T
>()
{
struct
Foo
{
x
:
T
,
//~ ERROR can't use generic parameters from outer item
}
impl
<
T
>
Drop
for
Foo
<
T
>
{
//~^ ERROR struct takes 0 generic arguments but 1 generic argument
fn
drop
(&
mut
self
)
{}
}
}
fn
main
()
{}