Debian Codegraph @

.cargo/vendor/cbindgen/tests/rust/must_use.toml

raw
1 header = """
2 #define MUST_USE_FUNC __attribute__((warn_unused_result))
3 #define MUST_USE_STRUCT __attribute__((warn_unused))
4 #define MUST_USE_ENUM /* nothing */
5 """
6
7 [fn]
8 must_use = "MUST_USE_FUNC"
9
10 [struct]
11 must_use = "MUST_USE_STRUCT"
12
13 [enum]
14 must_use = "MUST_USE_ENUM"