diff --git a/crates/libs/core/src/interface.rs b/crates/libs/core/src/interface.rs index 9d602669ff..b9b1593d11 100644 --- a/crates/libs/core/src/interface.rs +++ b/crates/libs/core/src/interface.rs @@ -94,7 +94,7 @@ pub unsafe trait Interface: Sized + Clone { if Self::UNKNOWN { (self.assume_vtable::().QueryInterface)(self.as_raw(), iid, interface) } else { - panic!() + panic!("Non-COM interfaces cannot be queried.") } } }