Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
parser
/
issues
/
issue-105366.rs
blob: 311b6a60f1a27b23ced853fc38178b582bf6bd48 [
file
] [
log
] [
blame
]
// run-rustfix
struct
Foo
;
fn
From
<
i32
>
for
Foo
{
//~^ ERROR you might have meant to write `impl` instead of `fn`
fn
from
(
_a
:
i32
)
->
Self
{
Foo
}
}
fn
main
()
{}