about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-10 14:04:41 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-07-10 15:09:01 -0700
commit743a8171a99748890c7922d15c3f63ba180e2de8 (patch)
treea58d94ca6fe4977974b62d09867289f074ca3737 /src/libstd/sys/unix/stack_overflow.rs
parent90bd83c9fca7b22056ec1ee0f00f095230bdb5c7 (diff)
downloadrust-743a8171a99748890c7922d15c3f63ba180e2de8.tar.gz
rust-743a8171a99748890c7922d15c3f63ba180e2de8.zip
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