diff --git a/crates/cxx-qt-gen/src/parser/trait_impl.rs b/crates/cxx-qt-gen/src/parser/trait_impl.rs index dd367135f..c5ed089c9 100644 --- a/crates/cxx-qt-gen/src/parser/trait_impl.rs +++ b/crates/cxx-qt-gen/src/parser/trait_impl.rs @@ -177,7 +177,7 @@ mod tests { // Invalid trait name { impl cxx_qt::AnotherTrait for QObject {} } // Invalid Path to self type - { impl cxx_qt::Threading for incorrect::path::QObject {} } + { impl cxx_qt::Threading for *mut QObject{} } { // Attributes are not allowed