rust/tests/ui/parser/issues/issue-105366.stderr
2024-08-03 07:57:31 -04:00

14 lines
260 B
Plaintext

error: you might have meant to write `impl` instead of `fn`
--> $DIR/issue-105366.rs:5:1
|
LL | fn From<i32> for Foo {
| ^^
|
help: replace `fn` with `impl` here
|
LL | impl From<i32> for Foo {
| ~~~~
error: aborting due to 1 previous error