summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-105366.stderr
blob: 0a7408e2c173f0fc00f111e4323136d97bb4c257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 previous error