internal: document rename challenges

This commit is contained in:
Aleksey Kladov
2021-06-14 19:08:12 +03:00
parent 26c978f258
commit 9fb67e7477
2 changed files with 42 additions and 1 deletions

View File

@@ -1767,4 +1767,22 @@ fn f() { <()>::BAR$0; }"#,
res,
);
}
#[test]
fn macros_are_broken_lol() {
cov_mark::check!(macros_are_broken_lol);
check(
"lol",
r#"
macro_rules! m { () => { fn f() {} } }
m!();
fn main() { f$0() }
"#,
r#"
macro_rules! m { () => { fn f() {} } }
lol
fn main() { lol() }
"#,
)
}
}