mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
no without_constness
This commit is contained in:
@@ -432,8 +432,7 @@ fn consider_builtin_pointee_candidate(
|
||||
let sized_predicate = ty::Binder::dummy(tcx.at(DUMMY_SP).mk_trait_ref(
|
||||
LangItem::Sized,
|
||||
[ty::GenericArg::from(goal.predicate.self_ty())],
|
||||
))
|
||||
.without_const();
|
||||
));
|
||||
|
||||
let mut nested_goals = ecx.infcx.eq(
|
||||
goal.param_env,
|
||||
|
||||
Reference in New Issue
Block a user