summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0407.stderr
blob: 889668f58927c05a60a8f1b05871026653296a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0407]: method `b` is not a member of trait `Foo`
  --> $DIR/E0407.rs:9:5
   |
LL |     fn b() {}
   |     ^^^-^^^^^
   |     |  |
   |     |  help: there is an associated function with a similar name: `a`
   |     not a member of trait `Foo`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0407`.