diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-10 14:59:56 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-05-10 15:44:03 -0400 |
| commit | 2baeb9be544d42b03044d5598ea66725d53fddf0 (patch) | |
| tree | d2607796ba462463c83fdc626ce9df4977ef1a76 /clippy_lints | |
| parent | 44c29bd7d17ae9122a9e4dc30540052872eaa5b9 (diff) | |
| download | rust-2baeb9be544d42b03044d5598ea66725d53fddf0.tar.gz rust-2baeb9be544d42b03044d5598ea66725d53fddf0.zip | |
Lift `TraitRef` into `rustc_type_ir`
Diffstat (limited to 'clippy_lints')
| -rw-r--r-- | clippy_lints/src/future_not_send.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/future_not_send.rs b/clippy_lints/src/future_not_send.rs index 18f4e51ebd6..2c2daac0234 100644 --- a/clippy_lints/src/future_not_send.rs +++ b/clippy_lints/src/future_not_send.rs @@ -5,6 +5,7 @@ use rustc_hir::{Body, FnDecl}; use rustc_infer::infer::TyCtxtInferExt; use rustc_lint::{LateContext, LateLintPass}; use rustc_middle::ty::{self, AliasTy, ClauseKind, PredicateKind}; +use rustc_middle::ty::print::PrintTraitRefExt; use rustc_session::declare_lint_pass; use rustc_span::def_id::LocalDefId; use rustc_span::{sym, Span}; |
