-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints
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`
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lints