Compiler: Rename "object safe" to "dyn compatible"
This commit is contained in:
parent
f5cd2c5888
commit
01a063f9df
183 changed files with 523 additions and 510 deletions
|
@ -772,8 +772,8 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
Ok(EvaluatedToOkModuloRegions)
|
||||
}
|
||||
|
||||
ty::PredicateKind::ObjectSafe(trait_def_id) => {
|
||||
if self.tcx().is_object_safe(trait_def_id) {
|
||||
ty::PredicateKind::DynCompatible(trait_def_id) => {
|
||||
if self.tcx().is_dyn_compatible(trait_def_id) {
|
||||
Ok(EvaluatedToOk)
|
||||
} else {
|
||||
Ok(EvaluatedToErr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue