rust-lang / rust-lang/rust-analyzer

panic: overflow depth reached

Open
#18,449 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

rust-analyzer version: rust-analyzer 1.84.0-nightly (759e07f 2024-10-30)

rustc version: rustc 1.84.0-nightly (759e07f06 2024-10-30)

editor or extension: none

relevant settings: none

repository link (if public, optional): https://github.com/Gottox/up_impl/

code snippet to reproduce:

git clone https://github.com/Gottox/up_impl.git
cd up_impl
git checkout 349c525dd5170ea35ab3ecadd3de5af71830ca4e # this patch introduced the error
rustup run nightly-x86_64-unknown-linux-gnu cargo test # works!
RUST_BACKTRACE=full rustup run nightly-x86_64-unknown-linux-gnu rust-analyzer analysis-stats . # fails :(

Output of rust-analyzer analysis-stats: log.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in the linked up_impl repository using the provided checkout and rust-analyzer analysis-stats command, then inspect log.txt for the overflow-depth trace. The issue is resolved when analysis-stats completes without the reported panic on that reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.