Rename is_object_safe
to check_is_object_safe
to hint side effects
This commit is contained in:
parent
d6de40b536
commit
94e59cb6e2
12 changed files with 17 additions and 14 deletions
|
@ -580,7 +580,7 @@ impl<'tcx> chalk_solve::RustIrDatabase<RustInterner<'tcx>> for RustIrDatabase<'t
|
|||
}
|
||||
|
||||
fn is_object_safe(&self, trait_id: chalk_ir::TraitId<RustInterner<'tcx>>) -> bool {
|
||||
self.interner.tcx.is_object_safe(trait_id.0)
|
||||
self.interner.tcx.check_is_object_safe(trait_id.0)
|
||||
}
|
||||
|
||||
fn hidden_opaque_type(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue