Handle #[expect(unfulfilled_lint_expectations)]
with a lint message
This commit is contained in:
parent
165b5583e5
commit
d39d60971b
6 changed files with 119 additions and 14 deletions
|
@ -970,6 +970,7 @@ impl Handler {
|
|||
|
||||
/// This methods steals all [`LintExpectationId`]s that are stored inside
|
||||
/// [`HandlerInner`] and indicate that the linked expectation has been fulfilled.
|
||||
#[must_use]
|
||||
pub fn steal_fulfilled_expectation_ids(&self) -> FxHashSet<LintExpectationId> {
|
||||
assert!(
|
||||
self.inner.borrow().unstable_expect_diagnostics.is_empty(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue