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-30 11:11:10 -0500
committerGitHub <noreply@github.com>2017-08-30 11:11:10 -0500
commit63cc2dda63b7f26933fcb2324ff2274f7fbfec30 (patch)
tree9c15d2d1775209c530519a38a03116a3028cbdcb /src/rustllvm/RustWrapper.cpp
parent581dc932932199ab0f2d0beb00144e0e56fb5aae (diff)
parentce322eedff7d665ed3e5ea142ac6bb40d6a72c66 (diff)
downloadrust-63cc2dda63b7f26933fcb2324ff2274f7fbfec30.tar.gz
rust-63cc2dda63b7f26933fcb2324ff2274f7fbfec30.zip
Rollup merge of #44089 - alexcrichton:trait-proc-macro, r=nrc
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