Update source for new lints in 1.52.1
This CL updates pvm_exec.rs to respond to new lints introduced in the 1.52.1
compiler update.
Test: TH
Change-Id: Ia98a487e6f227f5dddca2a0a3675d040cf9b087b
diff --git a/compos/src/pvm_exec.rs b/compos/src/pvm_exec.rs
index 987a198..03fbf72 100644
--- a/compos/src/pvm_exec.rs
+++ b/compos/src/pvm_exec.rs
@@ -57,7 +57,7 @@
new_spibinder(binder_rpc_unstable_bindgen::RpcClient(cid, VSOCK_PORT) as *mut AIBinder)
};
if let Some(ibinder) = ibinder {
- ICompService::try_from(ibinder).context("Cannot connect to RPC service")
+ <dyn ICompService>::try_from(ibinder).context("Cannot connect to RPC service")
} else {
bail!("Invalid raw AIBinder")
}