summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0407.stderr
blob: 6f6d1ff6a8f417c806a33073329a9459beb8b48e (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 previous error

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