about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorSeiichi Uchida <seuchida@gmail.com>2017-12-26 16:47:32 +0900
committerSeiichi Uchida <seuchida@gmail.com>2017-12-26 16:47:32 +0900
commit18da3c671b8147fb8d4e206d487f0ee4e4c3ba11 (patch)
tree44008e34c1ca92a795595088ecf7e3dd171bb335 /src/test/incremental/thinlto
parent0cd67581e7d048810874903dc589e5b855f47e7d (diff)
downloadrust-18da3c671b8147fb8d4e206d487f0ee4e4c3ba11.tar.gz
rust-18da3c671b8147fb8d4e206d487f0ee4e4c3ba11.zip
Do not expand a derive invocation when derive is not allowed
1. Change the return type of `expand_invoc()` and its subroutines to
   `Option<Expansion>` from `Expansion`.
2. Return `None` when expanding a derive invocation if the item cannot
   have derive on it (in `expand_derive_invoc()`).
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions