Skip to content

feat: add hint to transitive deprecated usage warning - #14841

Merged
wkrozowski merged 1 commit into
leanprover:masterfrom
wkrozowski:wkr/transitive_deprecation_hint
Aug 25, 2026
Merged

feat: add hint to transitive deprecated usage warning#14841
wkrozowski merged 1 commit into
leanprover:masterfrom
wkrozowski:wkr/transitive_deprecation_hint

Conversation

@wkrozowski

Copy link
Copy Markdown
Contributor

This PR adds a hint and a clickable code action to deprecated linter, when introducing a transitive deprecation, i.e. when a suggested replacement is itself deprecated.

@wkrozowski wkrozowski added the changelog-no Do not include this PR in the release changelog label Aug 19, 2026
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Aug 19, 2026
@mathlib-lean-pr-testing

mathlib-lean-pr-testing Bot commented Aug 19, 2026

Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase af46668adab413eed68e9921ad19996fc7312924 --onto dec70ee4980b571229f784a33d72b421ede3b1d5. You can force Mathlib CI using the force-mathlib-ci label. (2026-08-19 14:18:00)
  • ✅ Mathlib branch lean-pr-testing-14841 has successfully built against this PR. (2026-08-25 17:18:06) View Log

@leanprover-bot

leanprover-bot commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase af46668adab413eed68e9921ad19996fc7312924 --onto 3fc29d37a70f8fd904ebab848557c12383543008. You can force reference manual CI using the force-manual-ci label. (2026-08-19 14:18:01)
  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-08-22 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2026-08-25 15:46:31)

@wkrozowski
wkrozowski force-pushed the wkr/transitive_deprecation_hint branch from 7520ca2 to f4edbcc Compare August 25, 2026 15:22
@github-actions github-actions Bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Aug 25, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Aug 25, 2026
@wkrozowski
wkrozowski marked this pull request as ready for review August 25, 2026 18:50
@wkrozowski
wkrozowski added this pull request to the merge queue Aug 25, 2026
Merged via the queue into leanprover:master with commit e276422 Aug 25, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-mathlib CI has verified that Mathlib builds against this PR changelog-no Do not include this PR in the release changelog mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants