about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-08-25 13:33:15 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-08-25 15:57:05 -0700
commitce322eedff7d665ed3e5ea142ac6bb40d6a72c66 (patch)
tree9c0c63b59ac93a4112e87aa1e06e8c3ca36e8c97 /src/rustllvm/RustWrapper.cpp
parentba65645c78a87f1fa5c6d7132130bb3175fbe68b (diff)
downloadrust-ce322eedff7d665ed3e5ea142ac6bb40d6a72c66.tar.gz
rust-ce322eedff7d665ed3e5ea142ac6bb40d6a72c66.zip
rustc: Fix proc_macro expansions on trait methods
This commit fixes procedural macro attributes being attached to trait methods,
ensuring that they get resolved and expanded as other procedural macro
attributes. The bug here was that `current_module` on the resolver was
accidentally set to be a trait when it's otherwise only ever expecting a
`mod`/block module. The actual fix here came from @jseyfried, I'm just helping
to land it in the compiler!

Closes #42493
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions