mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
The `disallowed-method` lint gave:
`gccjit::types::Type::add_attribute` does not refer to a reachable function
because this function is behind a `cfg` gate and is not always
available.
4 lines
320 B
TOML
4 lines
320 B
TOML
disallowed-methods = [
|
|
{ path = "gccjit::types::Type::add_attribute", reason = "go through `type_::apply_struct_attributes` instead: an attribute set directly on a type would not be part of the `CodegenCx::struct_types` cache key, so it would silently change every other use of that type", allow-invalid = true },
|
|
]
|