diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-07-12 14:04:24 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-07-13 09:32:29 -0700 |
| commit | 94c9ea4baee98c1d6579865d0e0d78a45927aa83 (patch) | |
| tree | 320978158f0d79e57d41e980b75a326ae49fbfe6 /src/rustllvm/PassWrapper.cpp | |
| parent | 6cc42a4488d5dbc4c4109ed4a2f2ea81efa77f86 (diff) | |
| download | rust-94c9ea4baee98c1d6579865d0e0d78a45927aa83.tar.gz rust-94c9ea4baee98c1d6579865d0e0d78a45927aa83.zip | |
rustc: Tweak expansion of #[proc_macro] for 2018
The syntactical expansion of `#[proc_macro]` and related attributes currently contains absolute paths which conflicts with a lint for the 2018 edition, causing issues like #52214. This commit puts a band-aid on the issue by ensuring that procedural macros can also migrate to the 2018 edition for now by tweaking the expansion based on what features are activated. A more long-term solution would probably tweak the edition hygiene of spans, but this should do the trick for now. Closes #52214
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
