]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0407.stderr
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0407.stderr
1 error[E0407]: method `b` is not a member of trait `Foo`
2   --> $DIR/E0407.rs:9:5
3    |
4 LL |     fn b() {}
5    |     ^^^-^^^^^
6    |     |  |
7    |     |  help: there is an associated function with a similar name: `a`
8    |     not a member of trait `Foo`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0407`.