diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2021-10-25 15:58:41 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2021-11-29 21:19:49 +0800 |
| commit | a9a79f657c4a6b86483f3c1165e6f0ebbf77c927 (patch) | |
| tree | 8dac03e93e6a0bed2f0c273f3020112d7aadf188 /compiler/rustc_ty_utils/src | |
| parent | a848c4ba3ff69c2cb0cb66a59dc37fd53bbcb70b (diff) | |
| download | rust-a9a79f657c4a6b86483f3c1165e6f0ebbf77c927.tar.gz rust-a9a79f657c4a6b86483f3c1165e6f0ebbf77c927.zip | |
Completely remove ConstnessAnd
Diffstat (limited to 'compiler/rustc_ty_utils/src')
| -rw-r--r-- | compiler/rustc_ty_utils/src/ty.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_ty_utils/src/ty.rs b/compiler/rustc_ty_utils/src/ty.rs index 4bcc80c8302..9a4639b0886 100644 --- a/compiler/rustc_ty_utils/src/ty.rs +++ b/compiler/rustc_ty_utils/src/ty.rs @@ -2,9 +2,7 @@ use rustc_data_structures::fx::FxIndexSet; use rustc_hir as hir; use rustc_hir::def_id::{DefId, LocalDefId}; use rustc_middle::ty::subst::Subst; -use rustc_middle::ty::{ - self, Binder, Predicate, PredicateKind, ToPredicate, Ty, TyCtxt, WithConstness, -}; +use rustc_middle::ty::{self, Binder, Predicate, PredicateKind, ToPredicate, Ty, TyCtxt}; use rustc_span::Span; use rustc_trait_selection::traits; |
