> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-RUST-SLOT-0005: A method-slot context type or borrow mode is invalid.

> A method-slot context type or borrow mode is invalid.

`SIFR-RUST-SLOT-0005` belongs to the **Rust method slots** diagnostic family. It means: a method-slot context type or borrow mode is invalid.

## Why It Happens

A compiler-emitted method-slot table, context, signature, or call-scoped handler contract was violated.

<Info>
  Use `sifr --explain SIFR-RUST-SLOT-0005` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Details

| Field                  | Value                                                                                                   |
| ---------------------- | ------------------------------------------------------------------------------------------------------- |
| Code                   | `SIFR-RUST-SLOT-0005`                                                                                   |
| Family                 | `RUST-SLOT`                                                                                             |
| Severity               | Error                                                                                                   |
| Stability              | stable                                                                                                  |
| Owner                  | `sifr_frontend::specialization_runner`                                                                  |
| Representative fixture | `crates/sifr_frontend/src/slot_table_tests.rs::conflicting_context_borrow_modes_use_context_diagnostic` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
