explain the magic

This commit is contained in:
Aleksey Kladov 2019-01-31 23:01:34 +03:00
parent b4b522fb39
commit 4c0ab7db85
2 changed files with 56 additions and 19 deletions

View file

@ -109,6 +109,13 @@ mod tests {
use super::*;
// Good first issue (although a slightly chellegning one):
//
// * Pick a random test from here
// https://github.com/intellij-rust/intellij-rust/blob/c4e9feee4ad46e7953b1948c112533360b6087bb/src/test/kotlin/org/rust/lang/core/macros/RsMacroExpansionTest.kt
// * Port the test to rust and add it to this module
// * Make it pass :-)
#[test]
fn test_convert_tt() {
let macro_definition = r#"