Sign in
fuchsia
/
third_party
/
rust
/
20d43d03dd27568f609d621ce44673393e838892
/
.
/
src
/
test
/
ui
/
issues
/
auxiliary
/
issue-3136-a.rs
blob: 9bb546ab393b13ad0466ee22f82ebddf2ede1e12 [
file
] [
log
] [
blame
]
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
}
}
}
}