diff options
| author | bors <bors@rust-lang.org> | 2019-01-05 08:51:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-01-05 08:51:13 +0000 |
| commit | d264e406be13f7dbd01508ce506ded925d996be9 (patch) | |
| tree | de2adb5b29fca5cc8ecf66e30be869acb248024b /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 3bcf67c2cb46c8cbdc34e7ebe8d8ab4e1ab7a2b3 (diff) | |
| parent | 407ff74dcc6223185f57a675843bc95cbc66d5a2 (diff) | |
| download | rust-d264e406be13f7dbd01508ce506ded925d996be9.tar.gz rust-d264e406be13f7dbd01508ce506ded925d996be9.zip | |
Auto merge of #3627 - detrumi:use_self_local_macro, r=phansch
Trigger `use_self` lint in local macros Closes #2098 The test currently only covers local macros. #2098 suggested this: > You could add the macro in question into the `mini_macro` subcrate But that doesn't work for a `macro_rules`: ``` error: cannot export macro_rules! macros from a `proc-macro` crate type currently ``` So I suggest leaving out the test for external macros, as using `in_external_macro` seems straigtforward enough. Alternatives would be to use to add an additional crate (overkill if you ask me), or test with a `proc-macro`.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
