Skip to content

vscode rust-analyze always report "Request textDocument/semanticTokens/range failed." #12095

Closed
@jerry-yu

Description

@jerry-yu
thread '<unnamed>' panicked at 'overflow depth reached', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\chalk-recursive-0.82.0\src\fixed_point\stack.rs:51:13
stack backtrace:
Panic context:
> 
version: b5d7a712e 2022-04-25 stable
request: textDocument/codeAction CodeActionParams {
    text_document: TextDocumentIdentifier {
        uri: Url {
            scheme: "file",
            cannot_be_a_base: false,
            username: "",
            password: None,
            host: None,
            port: None,
            path: "/d%3A/git_resp/deeper-chain/pallets/staking/src/lib.rs",
            query: None,
            fragment: None,
        },
    },
    range: Range {
        start: Position {
            line: 1286,
            character: 18,
        },
        end: Position {
            line: 1286,
            character: 18,
        },
    },
    context: CodeActionContext {
        diagnostics: [],
        only: None,
    },
    work_done_progress_params: WorkDoneProgressParams {
        work_done_token: None,
    },
    partial_result_params: PartialResultParams {
        partial_result_token: None,
    },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-unactionableIssue requires feedback, design decisions or is blocked on other work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions