rust/src/librustc_resolve
bors d334027c58 Auto merge of #52230 - alexcrichton:attr-and-derive, r=petrochenkov
rustc: Search all derives for inert attributes

This commit fixes an apparent mistake in librustc_resolve where when the
`proc_macro` feature is enabled (or `rust_2018_preview`) the resolution of
custom attributes for custom derive was tweaked. Previously when an attribute
failed to resolve it was attempted to locate if there is a custom derive also in
scope which declares the attribute, but only the first custom derive directive
was search.

Instead this commit fixes the loop to search all custom derive invocations
looking for any which register the attribute in question.

Closes #52219
2018-07-12 10:16:19 +00:00
..
build_reduced_graph.rs resolve: Cleanup resolve_crate_root 2018-06-30 01:53:32 +03:00
Cargo.toml Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
check_unused.rs Fortify dummy span checking 2018-06-30 01:53:32 +03:00
diagnostics.rs Fix typo in E0433 docs 2018-07-11 07:43:10 +02:00
lib.rs Rollup merge of #51952 - petrochenkov:transmark, r=alexcrichton 2018-07-11 12:38:33 -06:00
macros.rs Auto merge of #52230 - alexcrichton:attr-and-derive, r=petrochenkov 2018-07-12 10:16:19 +00:00
resolve_imports.rs resolve: Cleanup resolve_crate_root 2018-06-30 01:53:32 +03:00