1
Fork 0

Make sure that non-pretty-printing usages are using the correct elaborator

This commit is contained in:
Michael Goulet 2023-10-18 03:04:00 +00:00
parent 910bb4fe25
commit 232f3146b3
5 changed files with 12 additions and 10 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