rust/src/librustc_resolve
Alex Crichton 63cc2dda63 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
2017-08-30 11:11:10 -05:00
..
build_reduced_graph.rs Address review comments, second turn 2017-08-27 19:02:24 +09:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
check_unused.rs Address review comments, second turn 2017-08-27 19:02:24 +09:00
diagnostics.rs Remove more anonymous trait method parameters 2017-07-08 01:56:27 +03:00
lib.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
macros.rs rustc: Fix proc_macro expansions on trait methods 2017-08-25 15:57:05 -07:00
resolve_imports.rs Make fields of Span private 2017-08-30 01:38:54 +03:00