1
Fork 0

Auto merge of #116874 - compiler-errors:elaborator-nits, r=wesleywiser

Some small elaborator nits

Didn't want to fold these into a totally unrelated pr.
This commit is contained in:
bors 2023-10-19 21:42:17 +00:00
commit 4578435e16
5 changed files with 39 additions and 42 deletions

View file

@ -4,9 +4,10 @@ use crate::{
};
use rustc_hir as hir;
use rustc_middle::{traits::util::supertraits, ty};
use rustc_middle::ty;
use rustc_session::lint::FutureIncompatibilityReason;
use rustc_span::sym;
use rustc_trait_selection::traits::supertraits;
declare_lint! {
/// The `deref_into_dyn_supertrait` lint is output whenever there is a use of the