diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2019-03-28 13:08:56 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2019-03-28 13:08:56 +0100 |
| commit | 528366d3ffe0564c2e300aae6df06e6a1bfafde2 (patch) | |
| tree | c0512cde36ced5031c4001e08cb336620cbbc8e0 /src/rustllvm/ArchiveWrapper.cpp | |
| parent | f043d2da65a4da355aae4773204e073fef3e7cba (diff) | |
| download | rust-528366d3ffe0564c2e300aae6df06e6a1bfafde2.tar.gz rust-528366d3ffe0564c2e300aae6df06e6a1bfafde2.zip | |
Revise and generalize the macros-unlinted tests.
Review feedback asked for the test to be generalized to include macros 2.0; that generalization is dyn-2015-idents-in-decl-macros-unlinted.rs As a drive-by, I also decided to revise the test to make it clear *why* we cannot generally lint these cases. (I already had similar demonstrations in dyn-2015-edition-keyword-ident-lint.rs, but it does not hurt to try to emphasize matters.) I also added some commentary on the cases where we could choose to make the lint smarter, namely the situations where a macro is *definitely* using `dyn` as an identifier (because it is using it as a path component).
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
