Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
malformed
/
do-not-ice-on-note_and_explain.rs
blob: be0b18a00d28f9cee771386f7d8ccec28065441f [
file
] [
log
] [
blame
]
struct
A
<
B
>(
B
);
impl
<
B
>
A
<
B
>
{
fn
d
()
{
fn
d
()
{
Self
(
1
)
//~^ ERROR can't reference `Self` constructor from outer item
}
}
}
fn
main
()
{}