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

# rust-unsafe-raw-pointer-deref

> A raw pointer dereference in an unsafe block bypasses Rust memory safety guarantees.

## What it flags

A raw pointer is dereferenced in an `unsafe` block. The rule recognizes explicit raw-pointer casts and simple local or parameter bindings with known raw-pointer types. Ordinary Rust references stay quiet.

## How to review or fix

Verify pointer validity and alignment or use safe abstractions.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "rust-unsafe-raw-pointer-deref": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.