about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-12 10:16:19 +0000
committerbors <bors@rust-lang.org>2018-07-12 10:16:19 +0000
commitd334027c58060449cc45b8e5cc37dd51ca077d30 (patch)
tree60321db9ce8000ebef7bf4651e0e1856935b3dbc /src/libstd/sys/unix/stack_overflow.rs
parentde857bbcf02d192986efc380b4735d8c9bea85ac (diff)
parent743a8171a99748890c7922d15c3f63ba180e2de8 (diff)
downloadrust-d334027c58060449cc45b8e5cc37dd51ca077d30.tar.gz
rust-d334027c58060449cc45b8e5cc37dd51ca077d30.zip
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
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions