Skip to content

better mismatched types error message #3417

Closed
@jesse99

Description

@jesse99

These are great error messages but most of the time they're quite hard to read because they are so long. They would be much more readable if they were six lines instead of one line.

So instead of

src/configuration.rs:179:54: 179:70 error: mismatched types: expected `@std::map::chained::hashmap_<@~str,mustache::mustache::Data>` but found `@std::map::chained::hashmap_<~str,mustache::mustache::Data>` (expected @-ptr but found ~str)

something like

src/configuration.rs:179:54: 179:70 error: mismatched types
expected:
    `@std::map::chained::hashmap_<@~str,mustache::mustache::Data>` 
but found: 
    `@std::map::chained::hashmap_<~str,mustache::mustache::Data>` 
expected @-ptr but found ~str

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions