Skip to content

E0277 should use short paths when possible #116616

Closed
@estebank

Description

@estebank

Type errors (and others) use tcx.short_ty_string and similar to write types that are too long to disk, so the cli output is easier to read. Trait bound errors do not do that.

https://twitter.com/ceccon_me/status/1707741832824734186

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsD-papercutDiagnostics: An error or lint that needs small tweaks.D-verboseDiagnostics: Too much output caused by a single piece of incorrect code.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