Files
rust/compiler/rustc_codegen_gcc/clippy.toml
Philipp Krones 3c02ed033b Allow unresolvable names in cg_gcc/clippy.toml
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.
2026-10-01 16:05:07 +02:00

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 },
]