diff options
| author | bors <bors@rust-lang.org> | 2014-10-21 11:37:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-10-21 11:37:14 +0000 |
| commit | b69cd73b7bd448dbfde4cf074b73a4b8384cad38 (patch) | |
| tree | cd67057c778592286a506b7d0adea3c61b52f60a /src/test/debuginfo/function-arg-initialization.rs | |
| parent | e8cc3f26ec998181a883d79c9a668fe55695e681 (diff) | |
| parent | dd55c8003cb9c4b065e8a8e54bbc0496ac0a3dfd (diff) | |
| download | rust-b69cd73b7bd448dbfde4cf074b73a4b8384cad38.tar.gz rust-b69cd73b7bd448dbfde4cf074b73a4b8384cad38.zip | |
auto merge of #17508 : vberger/rust/stability_lint_for_nested_macros, r=pnkfelix
Finishes the job of #17286.
Now the stability lint will successfully detect patterns such as:
```
first_macro!(second_macro!(deprecated_function()));
```
```
macro_rules! foo (
($e: expr) => (bar!($e))
)
foo!(deprected_function());
```
and
```
println!("{}", deprecated_function());
```
even with more levels of nesting, such as
```
println!("{}", foo!(bar!(deprecated_function())));
```
Diffstat (limited to 'src/test/debuginfo/function-arg-initialization.rs')
0 files changed, 0 insertions, 0 deletions
