Skip to content

Commit a64f4e8

Browse files
committed
fix non-existing ToPredicate trait error
1 parent d04e0ab commit a64f4e8

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_middle/src/ty

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/ty/util.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use crate::middle::codegen_fn_attrs::CodegenFnAttrFlags;
44
use crate::query::{IntoQueryParam, Providers};
55
use crate::ty::layout::{FloatExt, IntegerExt};
66
use crate::ty::{
7-
self, Asyncness, FallibleTypeFolder, ToPredicate, Ty, TyCtxt, TypeFoldable, TypeFolder,
8-
TypeSuperFoldable, TypeVisitableExt, Upcast,
7+
self, Asyncness, FallibleTypeFolder, Ty, TyCtxt, TypeFoldable, TypeFolder, TypeSuperFoldable,
8+
TypeVisitableExt, Upcast,
99
};
1010
use crate::ty::{GenericArgKind, GenericArgsRef};
1111
use rustc_apfloat::Float as _;

0 commit comments

Comments
 (0)