-
Notifications
You must be signed in to change notification settings - Fork 13.9k
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.P-mediumMedium priorityMedium priority
Description
This flag is mostly unused and adds complexity. This may be best to split across multiple PRs.
- Remove the flag (Remove -Z borrowck=compare flag #60513)
- Remove from tests (Remove -Z borrowck=compare flag #60513)
- Remove error reporting from AST borrow check
- Remove librustc_borrowck dependency on librustc_mir
- Remove error codes that are only emitted by AST borrow check
- Remove the
Originenum - Remove
BorrowckErrorstrait or make itpub(crate) - Move
borrowck_errorsandsuggest_ref_mutinto the borrow_check module
lqd
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.P-mediumMedium priorityMedium priority