# Rust 2024 edition prelude Future IntoFuture ambiguity unchanged module name resolution

Status: search-observed
Product: Rust 2024
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/rust-2024-edition-prelude-future-intofuture-ambiguity-unchanged-module-name-resolution
Machine JSON: https://gitdocs.org/api/fixes/rust-2024-edition-prelude-future-intofuture-ambiguity-unchanged-module-name-resolution.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

Source may compile under an older edition/toolchain; current edition migration rules and tool metadata are external to the repo's immediate error context.

## Fix

```
Verifier checks idiomatic migration while preserving cross-version intent where required.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- Rust 2024 edition prelude Future IntoFuture ambiguity unchanged module name resolution
- site:doc.rust-lang.org edition 2024 prelude Future
- Rust 2024 prelude changes Future IntoFuture
- https://doc.rust-lang.org/edition-guide/rust-2024/index.html
- 'prelude' in https://doc.rust-lang.org/edition-guide/rust-2024/index.html
- https://doc.rust-lang.org/edition-guide/rust-2024/prelude.html
- "future-prelude-import-creates-an-ambiguous-local-name"

## Sources

- Rust 1.85 and Rust 2024 edition: https://blog.rust-lang.org/2025/02/20/Rust-1.85.0/
- Official reference opened by Codex: https://doc.rust-lang.org/edition-guide/rust-2024/index.html
- Official reference opened by Codex: https://doc.rust-lang.org/edition-guide/rust-2024/prelude.html
