Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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` :-(
- Loading branch information