Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: allow renamed_and_removed_lints for now #444

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Commits on Jul 19, 2024

  1. lib: allow renamed_and_removed_lints for now

    Nightly clippy renamed `thread_local_initializer_can_be_made_const` to
    `missing_const_for_thread_local`.
    
    We can't use the new name on stable; we must keep using the old name to
    suppress the finding. If we don't allow `renamed_and_removed_lints`, we
    can't use the old name on nightly; it generates a warning about the new
    name... Using _both_ names won't work for the same reason, and our
    setting to allow _unknown_ lints won't help.
    
    There's no convenient way to change which name we use based on whether
    we're building with nightly or not so, for now, let's just allow
    `renamed_and_removed_lints` :-(
    cpu committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    686c37e View commit details
    Browse the repository at this point in the history