Skip to content

Feature: show failure step when compilation failed due to static analysis #48303

Open
@dbkaplun

Description

@dbkaplun

Newcomers might find this kind of output useful for an invalid program:

✓ Syntax valid!
✗ Types invalid
- Borrow checker

error[E0599]: no method named `collect` found for type `std::vec::Vec<T>` in the current scope
...

This would make it easier to see if you're fixing errors correctly, and are getting 'better' errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-frontendArea: Compiler frontend (errors, parsing and HIR)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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