Skip to content

Commit a50055a

Browse files
committed
Document that blacklisted types are pessimistic with derive
1 parent 931edfc commit a50055a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

book/src/blacklisting.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ appear in the bindings at
88
all, [make it opaque](./opaque.html) instead of
99
blacklisting it.)
1010

11+
Blacklisted types are pessimistically assumed not to be able to `derive` any
12+
traits, which can transitively affect other types' ability to `derive` traits or
13+
not.
14+
1115
### Library
1216

1317
* [`bindgen::Builder::hide_type`](https://docs.rs/bindgen/0.23.1/bindgen/struct.Builder.html#method.hide_type)

0 commit comments

Comments
 (0)