Stability lint checker now handles nested macros.

Closes #17185.
This commit is contained in:
Victor Berger 2014-09-24 11:14:19 +02:00
parent 6353465f4d
commit dd55c8003c
2 changed files with 23 additions and 16 deletions

View file

@ -116,6 +116,7 @@ mod cross_crate {
// on macros themselves are not yet linted.
macro_test!();
macro_test_arg!(deprecated_text()); //~ ERROR use of deprecated item: text
macro_test_arg!(macro_test_arg!(deprecated_text())); //~ ERROR use of deprecated item: text
macro_test_arg_nested!(deprecated_text);
}