diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-15 18:35:52 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-06-17 21:27:13 +0000 |
| commit | 6594c75449fcf53474fb47182f1326b230cbcbe8 (patch) | |
| tree | 99103f58394cf58ad03248de5379907dc4380285 /compiler/rustc_privacy/src | |
| parent | 52d3fc93f2194b0646e5447f29e6702b7c71ddae (diff) | |
| download | rust-6594c75449fcf53474fb47182f1326b230cbcbe8.tar.gz rust-6594c75449fcf53474fb47182f1326b230cbcbe8.zip | |
Move ConstEvaluatable to Clause
Diffstat (limited to 'compiler/rustc_privacy/src')
| -rw-r--r-- | compiler/rustc_privacy/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs index 0c23ae2b68f..08099190168 100644 --- a/compiler/rustc_privacy/src/lib.rs +++ b/compiler/rustc_privacy/src/lib.rs @@ -182,7 +182,7 @@ where ct.visit_with(self)?; ty.visit_with(self) } - ty::PredicateKind::ConstEvaluatable(ct) => ct.visit_with(self), + ty::PredicateKind::Clause(ty::Clause::ConstEvaluatable(ct)) => ct.visit_with(self), ty::PredicateKind::Clause(ty::Clause::WellFormed(arg)) => arg.visit_with(self), ty::PredicateKind::ObjectSafe(_) |
