Rollup merge of #105537 - kadiwa4:remove_some_imports, r=fee1-dead

compiler: remove unnecessary imports and qualified paths

Some of these imports were necessary before Edition 2021, others were already in the prelude.

I hope it's fine that this PR is so spread-out across files :/
This commit is contained in:
Matthias Krüger 2022-12-11 09:51:57 +01:00 committed by GitHub
commit 2daa3bcbc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 24 additions and 98 deletions

View file

@ -26,7 +26,7 @@
//! ## `PartialOrd`
//!
//! Given that they represent partially ordered sets, you may be surprised that [`JoinSemiLattice`]
//! and [`MeetSemiLattice`] do not have [`PartialOrd`][std::cmp::PartialOrd] as a supertrait. This
//! and [`MeetSemiLattice`] do not have [`PartialOrd`] as a supertrait. This
//! is because most standard library types use lexicographic ordering instead of set inclusion for
//! their `PartialOrd` impl. Since we do not actually need to compare lattice elements to run a
//! dataflow analysis, there's no need for a newtype wrapper with a custom `PartialOrd` impl. The