Skip to content

NLL: diagnostic parity

Closed
No due date
Closed Jul 24, 2018
100% complete

Error messages when using the new, MIR-based borrow checker should be as good or better than the old ones.

List view

  • MIR-borrowck: add "consider changing this to <code>mut x</code>" note, as in AST borrowck

    A-diagnosticsArea: Messages for errors, warnings, and lints
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    NLL-diagnosticsWorking towards the "diagnostic parity" goal
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    Status: Closed (completed).
    #46020 In rust-lang/rust;
    · by arielb1 was closed on Jun 21, 2018
  • Add "modes" to compiletest, for running all tests with NLL enabled and comparing with master

    A-compiletestArea: The compiletest test runner
    A-testsuiteArea: The testsuite used to check the correctness of rustc
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    NLL-diagnosticsWorking towards the "diagnostic parity" goal
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    WG-traitsWorking group: Traits, https://internals.rust-lang.org/t/announcing-traits-working-group/6804
    Status: Closed (completed).
    #48879 In rust-lang/rust;
    · by pnkfelix was closed on May 29, 2018
  • NLL suggests removing mutability from a variable, doing so causes a compiler error

    A-diagnosticsArea: Messages for errors, warnings, and lints
    A-NLLArea: Non-lexical lifetimes (NLL)
    C-bugCategory: This is a bug.
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    NLL-diagnosticsWorking towards the "diagnostic parity" goal
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    Status: Closed (completed).
    #47279 In rust-lang/rust;
    · by shepmaster was closed on Apr 29, 2018
  • [NLL] E0389 error message uses the term <code>immutable item</code> inappropriately

    A-diagnosticsArea: Messages for errors, warnings, and lints
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    NLL-diagnosticsWorking towards the "diagnostic parity" goal
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    Status: Closed (completed).
    #47388 In rust-lang/rust;
    · by nikomatsakis was closed on Apr 10, 2018
  • NLL: bad error message when converting anonymous lifetime to <code>'static</code>

    A-diagnosticsArea: Messages for errors, warnings, and lints
    A-NLLArea: Non-lexical lifetimes (NLL)
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
    NLL-diagnosticsWorking towards the "diagnostic parity" goal
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    Status: Closed (completed).
    #46983 In rust-lang/rust;
    · by arielb1 was closed on Jul 24, 2018
  • two-phase borrows creates extra error messages

    A-diagnosticsArea: Messages for errors, warnings, and lints
    A-NLLArea: Non-lexical lifetimes (NLL)
    NLL-diagnosticsWorking towards the "diagnostic parity" goal
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    Status: Closed (completed).
    #48418 In rust-lang/rust;
    · by nikomatsakis was closed on Apr 3, 2018
  • Status: Closed (completed).
    #48428 In rust-lang/rust;
    · by nikomatsakis was closed on Mar 4, 2018
  • Status: Closed (completed).
    #45697 In rust-lang/rust;
    · by arielb1 was closed on Feb 7, 2018