about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-03-25 01:26:41 +0800
committerGitHub <noreply@github.com>2018-03-25 01:26:41 +0800
commit2b2f91638f140aa5d5a889aff185aee964f0fe40 (patch)
tree01e1a004f94cbaf4d1d17ba39a2b713cf567a77d /src/rustllvm/PassWrapper.cpp
parent3bc81f7f4dbf5cf0d1b87292848efe78c5fac516 (diff)
parenta1a3bf2b31af680ffbbed4270efc0a2cda80ca87 (diff)
downloadrust-2b2f91638f140aa5d5a889aff185aee964f0fe40.tar.gz
rust-2b2f91638f140aa5d5a889aff185aee964f0fe40.zip
Rollup merge of #49273 - michaelwoerister:fix-extern-proc-macro-defkey, r=eddyb
Fix DefKey lookup for proc-macro crates.

Add a special case for proc-macro crates for `def_key()` in the metadata decoder (like we already have for many other methods in there). In the long run, it would be preferable to get rid of the need for special casing proc-macro crates (see #49271).

Fixes https://github.com/rust-lang/rust/issues/48739 (though I wasn't able to come up with a regression test, unfortunately)

r? @eddyb
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions