diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2019-03-28 12:49:50 +0100 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2019-03-28 12:49:50 +0100 |
| commit | f043d2da65a4da355aae4773204e073fef3e7cba (patch) | |
| tree | 37ce886ac4df050d8116cdef58e393ad3da57f0c /src/rustllvm/ArchiveWrapper.cpp | |
| parent | 1f63a52ca26ac2a59591a1b23e8d2c73baff5d6b (diff) | |
| download | rust-f043d2da65a4da355aae4773204e073fef3e7cba.tar.gz rust-f043d2da65a4da355aae4773204e073fef3e7cba.zip | |
Revise test slightly so that `dyn` in macro invocation *must* be parsed as keyword in test.
Back-story: After reflection this morning, I realized that the previous form of this test would allow the macro invocation to treat the `dyn` input as a raw-identifier rather than a keyword, and since the input was discarded by that version of the macro, the test would pass despite the detail that the input `dyn` should not have been parsed as a raw-identifier. This revision fixes that oversight, by actually *using* the macro input to construct a `Box<dyn Trait>` type.
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
