diff --git a/tests/ui/pymodule_missing_docs.rs b/tests/ui/pymodule_missing_docs.rs index fc17fdb8428..ed7d772fafd 100644 --- a/tests/ui/pymodule_missing_docs.rs +++ b/tests/ui/pymodule_missing_docs.rs @@ -12,6 +12,6 @@ pub fn python_module(_m: &Bound<'_, PyModule>) -> PyResult<()> { #[cfg(feature = "experimental-declarative-modules")] /// Some module documentation #[pymodule] -pub mod python_module {} +pub mod declarative_python_module {} fn main() {}