Home
last modified time | relevance | path

Searched refs:ConstMismatch (Results 1 – 6 of 6) sorted by relevance

/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/ty/
H A D_match.rs105 return Err(TypeError::ConstMismatch(relate::expected_found(self, &a, &b))); in consts()
H A Derror.rs69 ConstMismatch(ExpectedFound<&'tcx ty::Const<'tcx>>), enumerator
203 ConstMismatch(ref values) => { in fmt()
237 | ConstMismatch(_) in must_include_note()
H A Dstructural_impls.rs626 ConstMismatch(x) => return tcx.lift(x).map(ConstMismatch), in lift_to_tcx()
H A Drelate.rs612 if is_match { Ok(a) } else { Err(TypeError::ConstMismatch(expected_found(relation, a, b))) } in super_relate_consts()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_trait_selection/src/traits/
H A Dfulfill.rs658 TypeError::ConstMismatch(expected_found), in progress_changed_obligations()
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_infer/src/infer/
H A Dcombine.rs793 TypeError::ConstMismatch(ty::relate::expected_found_bool(a_is_expected, a, b)) in const_unification_error()