about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-12 14:04:24 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-07-13 09:32:29 -0700
commit94c9ea4baee98c1d6579865d0e0d78a45927aa83 (patch)
tree320978158f0d79e57d41e980b75a326ae49fbfe6 /src/rustllvm/PassWrapper.cpp
parent6cc42a4488d5dbc4c4109ed4a2f2ea81efa77f86 (diff)
downloadrust-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