Rules / TAU-A000

Banned API in this tier

decided by Clippy kernel deny core deny edge –
Applies to tests: no Exceptions: #[expect] + reason

Why

The API is banned in this tier; see the specific rule named in the diagnostic.

Fix

See the specific rule named in the diagnostic.

What it checks

Lints: clippy::disallowed_methods, clippy::disallowed_types, clippy::disallowed_macros

In the terminal

cargo tauten explain TAU-A000

$ cargo tauten explain TAU-A000

TAU-A000: Banned API in this tier Why: The API is banned in this tier; see the specific rule named in the diagnostic. Fix: See the specific rule named in the diagnostic. Decided by: ClippyDecides: No call to an API on the tier's ban list (reported under the specific rule the ban names), including the bans a workspace declares in `[[workspace.metadata.tauten.ban]]` for `kernel` and `core`, which carry the workspace's reason; a declared path that does not resolve where its crate is visible is itself a finding.Sees: resolved; complete: yesDoes not see: Code expanded from macros defined in other crates (clippy skips it); code disabled by `cfg`; build scripts. APIs not on the tier's ban list (clippy.toml), including dependency functions that wrap a banned one; foreign code. A declared path Clippy cannot match: a trait method named by one of its impls (the call resolves to the trait's method), or a path behind a `cfg` or feature that is off in this build.Applies to tests: noExceptions allowed: with #[expect(.., reason)]  kernel deny  core deny  edge -Lints: clippy::disallowed_methods, clippy::disallowed_types, clippy::disallowed_macros