1 error[E0577]: expected module, found unresolved item `crate::r#mod`
2 --> $DIR/issue-61732.rs:3:8
4 LL | pub(in crate::r#mod) fn main() {}
5 | ^^^^^^^^^^^^ not a module
7 error: Compilation failed, aborting rustdoc
9 error: aborting due to 2 previous errors
11 For more information about this error, try `rustc --explain E0577`.