提交 b6b0fd91 编写于 作者: O Oliver Middleton

rustdoc: Add test for fixed issue

上级 d8bdb3fd
// This previously triggered an ICE.
pub(in crate::r#mod) fn main() {}
//~^ ERROR expected module, found unresolved item
error[E0577]: expected module, found unresolved item `crate::r#mod`
--> $DIR/issue-61732.rs:3:8
|
LL | pub(in crate::r#mod) fn main() {}
| ^^^^^^^^^^^^ not a module
error: Compilation failed, aborting rustdoc
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0577`.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册