Closed
Description
From: src/test/compile-fail/E0407.rs
E0407 needs a span_label, updating it from:
error[E0407]: method `b` is not a member of trait `Foo`
--> src/test/compile-fail/E0407.rs:19:5
|
19 | fn b() {} //~ ERROR E0407
| ^^^^^^^^^
To:
error[E0407]: method `b` is not a member of trait `Foo`
--> src/test/compile-fail/E0407.rs:19:5
|
19 | fn b() {} //~ ERROR E0407
| ^^^^^^^^^ not a member of `Foo`
Bonus: tighten the span to focus on b
:
error[E0407]: method `b` is not a member of trait `Foo`
--> src/test/compile-fail/E0407.rs:19:5
|
19 | fn b() {} //~ ERROR E0407
| ^ not a member of `Foo`