rust/src/test/ui/dyn-keyword
Felix S. Klock II 528366d3ff 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).
2019-03-28 13:08:56 +01:00
..
dyn-2015-edition-keyword-ident-lint.fixed Revise test slightly so that dyn in macro invocation *must* be parsed as keyword in test. 2019-03-28 12:49:50 +01:00
dyn-2015-edition-keyword-ident-lint.rs Revise test slightly so that dyn in macro invocation *must* be parsed as keyword in test. 2019-03-28 12:49:50 +01:00
dyn-2015-edition-keyword-ident-lint.stderr Some tests illustrating where the revised lint does and does not apply. 2019-03-27 17:13:51 +01:00
dyn-2015-idents-in-decl-macros-unlinted.rs Revise and generalize the macros-unlinted tests. 2019-03-28 13:08:56 +01:00
dyn-2015-idents-in-macros-unlinted.rs Revise and generalize the macros-unlinted tests. 2019-03-28 13:08:56 +01:00
dyn-2015-no-warnings-without-lints.rs Some tests illustrating where the revised lint does and does not apply. 2019-03-27 17:13:51 +01:00
issue-56327-dyn-trait-in-macro-is-okay.rs Regression test for rust-lang/rust#56327. 2019-03-27 17:18:49 +01:00