# error[E0432]: unresolved import `crate::module::self`

- **ID:** `rust/e0432-unresolved-import-self`
- **Domain:** rust
- **Category:** module_error
- **Error Code:** `E0432`
- **Verification:** ai_generated
- **Fix Rate:** 85%

## Root Cause

Using `self` in a use path incorrectly; `self` should be used to refer to the current module, not as a subpath.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.70 | active | — | — |
| 1.75 | active | — | — |
| 1.80 | active | — | — |

## Workarounds

1. **Remove `self` from the path: use `use crate::module;` instead of `use crate::module::self;`** (95% success)
   ```
   Remove `self` from the path: use `use crate::module;` instead of `use crate::module::self;`
   ```
2. **Use `use crate::module::{self, OtherItem};` to import the module itself along with other items** (90% success)
   ```
   Use `use crate::module::{self, OtherItem};` to import the module itself along with other items
   ```
3. **If you meant to import the current module's parent, use `use super::*;`** (85% success)
   ```
   If you meant to import the current module's parent, use `use super::*;`
   ```

## Dead Ends

- **Adding `pub` to the module declaration** — Visibility is not the issue; the path syntax is wrong. (95% fail)
- **Changing `self` to `super` without understanding the module hierarchy** — `super` refers to the parent module, which may not be the intended target. (80% fail)
