rust/src/librustc_interface
Dylan DPC 657a41fe73
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.
2020-06-12 12:28:25 +02:00
..
build.rs Locate rustc binary similarly to codegen backend loading 2019-09-10 16:57:14 -04:00
callbacks.rs Show SyntaxContext in formatted Span debug output 2020-06-08 21:47:33 -04:00
Cargo.toml Make things build again 2020-06-02 20:38:24 +03:00
interface.rs Make SourceMap available for early debug-printing of Spans 2020-05-31 17:30:55 -04:00
lib.rs Depend on libc from crates.io 2020-04-11 11:07:04 -04:00
passes.rs expand: Give reasonable NodeIds to lints associated with macro definitions 2020-06-09 22:36:28 +03:00
proc_macro_decls.rs librustc_middle: return LocalDefId instead of DefId in local_def_id 2020-04-23 23:14:07 +01:00
queries.rs Use OnceCell instead of Once 2020-05-22 13:31:02 -07:00
tests.rs Add -Z span-debug to allow for easier debugging of proc macros 2020-06-04 15:39:12 -04:00
util.rs rustc_session: Cleanup session creation 2020-05-27 22:32:24 +03:00