check_is_object_safe -> is_object_safe
This commit is contained in:
parent
de6b219803
commit
511f1cf7c8
16 changed files with 18 additions and 18 deletions
|
@ -832,7 +832,7 @@ fn analysis(tcx: TyCtxt<'_>, (): ()) -> Result<()> {
|
|||
let traits = tcx.traits(LOCAL_CRATE);
|
||||
|
||||
for &tr in traits {
|
||||
if !tcx.check_is_object_safe(tr) {
|
||||
if !tcx.is_object_safe(tr) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue