Update TypeVisitor paths
This commit is contained in:
parent
e9e5d0685b
commit
4f0a64736b
130 changed files with 161 additions and 147 deletions
|
@ -1645,7 +1645,7 @@ declare_lint_pass!(
|
|||
|
||||
impl<'tcx> LateLintPass<'tcx> for TrivialConstraints {
|
||||
fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item<'tcx>) {
|
||||
use rustc_middle::ty::fold::TypeFoldable;
|
||||
use rustc_middle::ty::visit::TypeVisitable;
|
||||
use rustc_middle::ty::PredicateKind::*;
|
||||
|
||||
if cx.tcx.features().trivial_bounds {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue