Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
auxiliary
/
issue-3136-a.rs
blob: 22bb1c8f97709c7d0ab69237caf2cb5290422d33 [
file
] [
log
] [
blame
] [
edit
]
#![
crate_type
=
"lib"
]
trait
x
{
fn
use_x
<
T
>(&
self
);
}
struct
y
(());
impl
x
for
y
{
fn
use_x
<
T
>(&
self
)
{
struct
foo
{
//~ ERROR quux
i
:
(),
}
fn
new_foo
<
T
>(
i
:
())
->
foo
{
foo
{
i
:
i
}
}
}
}