about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-06-12 12:28:25 +0200
committerGitHub <noreply@github.com>2020-06-12 12:28:25 +0200
commit657a41fe73942006a01d67598bcbe80b8b03e69e (patch)
treef6f5c255dc50760f8f95ad85f8288acf9ee1b562 /src/rustllvm/RustWrapper.cpp
parentc06799e4c4103330c972eb04f08aa72b7c1d5ace (diff)
parentd60df536d5d6a4ad2d6b2cdf4c443e022fe35d30 (diff)
downloadrust-657a41fe73942006a01d67598bcbe80b8b03e69e.tar.gz
rust-657a41fe73942006a01d67598bcbe80b8b03e69e.zip
Rollup merge of #73178 - petrochenkov:explint, r=varkor
expand: More precise locations for expansion-time lints

First commit: a macro expansion doesn't have a `NodeId` associated with it, but it has a parent `DefId` which we can use for linting.
The observable effect is that lints associated with macro expansions can now be `allow`ed at finer-grained level than whole crate.

Second commit: each macro definition has a `NodeId` which we can use for linting, unless that macro definition was decoded from other crate.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions