1
Fork 0

check_is_object_safe -> is_object_safe

This commit is contained in:
Michael Goulet 2024-05-21 14:39:30 -04:00
parent de6b219803
commit 511f1cf7c8
16 changed files with 18 additions and 18 deletions

View file

@ -798,7 +798,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
}
ty::PredicateKind::ObjectSafe(trait_def_id) => {
if self.tcx().check_is_object_safe(trait_def_id) {
if self.tcx().is_object_safe(trait_def_id) {
Ok(EvaluatedToOk)
} else {
Ok(EvaluatedToErr)