summaryrefslogtreecommitdiff
path: root/tests/headers/blocklist-and-impl-debug.hpp
blob: 14e17537e1d2713814c06f6b9da329e7ffcb027b (plain)
1
2
3
4
5
6
7
8
9
10
// bindgen-flags: --impl-debug --blocklist-type BlocklistMe --raw-line 'pub struct BlocklistMe(u8);'

struct BlocklistMe {};

/**
 * Because this type contains a blocklisted type, it should not derive Debug.
 */
struct ShouldManuallyImplDebug {
    BlocklistMe a;
};