summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2017-09-05 11:24:55 -0700
committerNick Fitzgerald <fitzgen@gmail.com>2017-09-05 11:24:55 -0700
commita50055a9bcc975da152bbf01768bc0c118c4116a (patch)
tree6d309d7d3106b0b1efdf569811bacf9b1fb50753
parent931edfc1ff6bbecb6b9f1033978878e00a11ad91 (diff)
Document that blacklisted types are pessimistic with `derive`
-rw-r--r--book/src/blacklisting.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/book/src/blacklisting.md b/book/src/blacklisting.md
index 990947ab..3553d8b2 100644
--- a/book/src/blacklisting.md
+++ b/book/src/blacklisting.md
@@ -8,6 +8,10 @@ appear in the bindings at
all, [make it opaque](./opaque.html) instead of
blacklisting it.)
+Blacklisted types are pessimistically assumed not to be able to `derive` any
+traits, which can transitively affect other types' ability to `derive` traits or
+not.
+
### Library
* [`bindgen::Builder::hide_type`](https://docs.rs/bindgen/0.23.1/bindgen/struct.Builder.html#method.hide_type)