From a50055a9bcc975da152bbf01768bc0c118c4116a Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Tue, 5 Sep 2017 11:24:55 -0700 Subject: Document that blacklisted types are pessimistic with `derive` --- book/src/blacklisting.md | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3