Skip to content

Update compiler error message for E0761 #84828

Closed
@Zerotask

Description

@Zerotask

The compiler error message for E0761
image

should include the src folder and it should use double quotes, similar to the help message of compiler error E0583:

image

Before

error[E0761]: file for module `user` found at both user.rs and user\mod.rs

After

error[E0761]: file for module `user` found at both "src\user.rs" and "src\user\mod.rs"

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsD-terseDiagnostics: An error or lint that doesn't give enough information about the problem at hand.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions