about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.coverage
diff options
context:
space:
mode:
authorAlejandra González <blyxyas@gmail.com>2024-11-15 20:08:03 +0000
committerGitHub <noreply@github.com>2024-11-15 20:08:03 +0000
commit627363e8115caf1e99d1888dca8c2d83149938cd (patch)
treea4eaececa1f8f254c37b157a8ca8aa8ce57ed802 /tests/coverage/branch/lazy-boolean.coverage
parent83f7526cf0d4b4df5d9f39030664dc70b3e17b90 (diff)
parent5c1811ab94bcf0961ff5cdd57f428d94d4d08227 (diff)
downloadrust-627363e8115caf1e99d1888dca8c2d83149938cd.tar.gz
rust-627363e8115caf1e99d1888dca8c2d83149938cd.zip
Reverse dependency between `clippy_utils` and `clippy_config` (#13691)
In preparation of #13556, I want to remove the dependency on
`clippy_config`, as I don't think that we want to publish that for
outside consumers. To do this the 2 dependecies on `clippy_config` had
to be removed:

1. The MSRV implementation was in `clippy_config`, but was required in
`qualify_min_const`. I think exposing the MSRV infrastructure and the
MSRVs we defined might also be helpful for `clippy_utils` users. I don't
see why it should not be able to live in `clippy_utils` from a technical
point of few.
2. The `create_disallowed_map` function that took in a
`clippy_utils::types::DisallowedPath` is moved to the `DisallowedPath`
implementation. This also fits there and is only useful for Clippy and
not in `clippy_utils` for external consumers.

`clippy_config` now depends in `clippy_utils`, so the dependecy just got
reversed. But having the `clippy_utils` crate as the base of the
dependency tree in Clippy makes sense.

changelog: none
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.coverage')
0 files changed, 0 insertions, 0 deletions