about summary refs log tree commit diff
path: root/compiler/rustc_interface
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-05-21 14:39:30 -0400
committerMichael Goulet <michael@errs.io>2024-06-03 09:49:30 -0400
commit511f1cf7c8e96c2350dac7b4870e92c99ee08b92 (patch)
tree884df95c2e745f6487cd9ab513e0fdf1760cbd1d /compiler/rustc_interface
parentde6b219803421da9f50a85c108847c51abf2e74a (diff)
downloadrust-511f1cf7c8e96c2350dac7b4870e92c99ee08b92.tar.gz
rust-511f1cf7c8e96c2350dac7b4870e92c99ee08b92.zip
check_is_object_safe -> is_object_safe
Diffstat (limited to 'compiler/rustc_interface')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 33995f80162..b678582766d 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -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;
             }