We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rustdoc
1 parent e3ab507 commit ab30797Copy full SHA for ab30797
src/test/rustdoc/macro-in-async-block.rs
@@ -0,0 +1,9 @@
1
+// Regression issue for rustdoc ICE encountered in PR #72088.
2
+// edition:2018
3
+#![feature(decl_macro)]
4
+
5
+fn main() {
6
+ async {
7
+ macro m() {}
8
+ };
9
+}
src/test/rustdoc/macro-in-closure.rs
@@ -6,4 +6,11 @@ fn main() {
|| {
macro m() {}
};
10
+ let _ = || {
11
+ macro n() {}
12
13
14
+ let cond = true;
15
+ let _ = || if cond { macro n() {} } else { panic!() };
16
}
0 commit comments