-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Origin
enum - Remove
BorrowckErrors
trait or make itpub(crate)
- Move
borrowck_errors
andsuggest_ref_mut
into 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