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