2019-10-15 16:01:47 -05:00
|
|
|
// Regression issue for rustdoc ICE encountered in PR #65252.
|
|
|
|
|
|
|
|
#![feature(decl_macro)]
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
|| {
|
|
|
|
macro m() {}
|
|
|
|
};
|
2020-06-07 17:13:40 -05:00
|
|
|
|
|
|
|
let _ = || {
|
|
|
|
macro n() {}
|
|
|
|
};
|
|
|
|
|
|
|
|
let cond = true;
|
|
|
|
let _ = || if cond { macro n() {} } else { panic!() };
|
2019-10-15 16:01:47 -05:00
|
|
|
}
|