ErrLookup › rust-lang/rust-analyzer

rust-lang/rust-analyzer

A Rust compiler front-end for IDEs · Rust · 1,440 source files

Analyzed at e8f7e90aa3 on 2026-09-03. 138 documented errors.

Code / MessageTypeSeverityTags
We explicitly do not provide canonicalization API, as that i
panic error rust, paths, panic, api-removed
bad kind {other}
panic error rust, proc-macro, protocol-decoding, panic
bad spacing {other}
panic error rust, proc-macro, protocol-decoding, panic
bad tag: {other}
panic error rust, proc-macro, protocol-decoding, panic
profiler already started
panic error rust, profiling, state-machine, panic
profiler failed to start
panic error rust, profiling, filesystem, gperftools, panic
profiler is not started
panic error rust, profiling, state-machine, panic
Invariant violation: file emitted multiple times.
panic critical rust, cli, scip, index, invariant-violation, panic
missing entry for {ty}: {default} (field {field})
panic error rust, config, panic, unreachable-match
you have way too many items in the same file!
panic error rust, panic, invariant, internal-limit
Can't find SyntaxNodePtr {:?} in AstIdMap: {:?}
panic error rust, panic, stale-data, salsa, ast
AstIdMap node mismatch with node `{ptr:?}`
panic error rust, panic, invariant, ast, type-mismatch
Can't find ast id {:?} in AstIdMap: {:?}
panic error rust, panic, stale-data, salsa, ast
tried to set QoS of thread which has opted out of QoS (os er
panic error rust, macos, thread-priority, qos, panic
tried to get QoS of thread which has opted out of QoS
panic error rust, macos, thread-priority, qos, panic
unmatched closing delimiter from syntax fixup
panic error rust, panic, macros, syntax-fixup, token-tree
Token from lexer must be single char: token = {token:#?}
panic error rust, panic, macros, lexer, token-tree
Next token must be ident
panic error rust, panic, macros, parser, token-tree
{punct:#?} is not a valid punct
panic error proc-macro, token-tree, panic, parser
dynamic `SyntaxKind` for `AstNode::kind()`
panic error ast, syntax-kind, panic, api-misuse
invalid delimiter `{delimiter:?}`
panic error ast, syntax-kind, panic, api-misuse
Failed to make expr node `{node}` from text `{text}`
panic error ast, make, panic, syntax
Failed to make ast node `{node}` from text `{text}`
panic error ast, make, panic, syntax
not implemented
panic error
attempted to serialize value that set `PERSIST` to false
panic error
attempted to deserialize value that cannot set `PERSIST` to
panic error
Cannot rename a non-local definition
error_code error
Cannot rename a tool module
error_code error
Cannot rename builtin type
error_code error rust, ide, rename, lsp
Cannot rename a builtin attr.
error_code error rust, ide, rename, attributes
Cannot rename `Self`
error_code error rust, ide, rename, self-type
Invalid name `{0}`: cannot rename module to {0}
validation error rust, ide, rename, identifier-validation
Invalid name `{}`: not a lifetime identifier
validation error rust, ide, rename, lifetimes
Invalid name `{}`: not an identifier
validation error rust, ide, rename, identifier-validation
Invalid name `{}`: cannot rename to `self`
validation error rust, ide, rename, keywords
Cannot rename reference to `_` as it is being referenced mul
error_code error rust, ide, rename, semantics
Can't rename local that is defined in a macro declaration
error_code error rust, ide, rename, macros
No file available to rename
error_code error rust-analyzer, rename, macros, lsp
Invalid name `{}`: cannot rename to a keyword
validation error rust-analyzer, rename, keyword, validation
Invalid name `{}`: {}
validation error rust-analyzer, rename, lexer, validation
No files to search
error_code error rust, ide-ssr, empty-input, structural-search
Not a valid Rust expression, type, item, path or pattern
validation error rust, ide-ssr, parse-error, invalid-pattern
Placeholder `{}` repeats more than once
validation error rust, ide-ssr, placeholder, duplicate-binding, pattern
Replacement placeholders cannot have constraints
validation error rust, ide-ssr, placeholder, constraints, rule-validation
Replacement contains undefined placeholders: {}
validation error rust, ide-ssr, placeholder, undefined-variable, rule-validation
Failed to parse pattern: {}
validation error rust, parsing, lexer, ssr
not implemented
panic critical rust, panic, deprecated-api, paths
Unexpected token while parsing placeholder: '{}'
validation error rust, parsing, ssr, placeholder-syntax
Placeholders should either be $name or ${{name:constraints}}
validation error rust, parsing, ssr, placeholder-syntax
Expected ident, found {:?} while parsing kind constraint
validation error rust, parsing, ssr, constraints
Unsupported constraint type '{}'
validation error rust, parsing, ssr, constraints
Expected {} found {}
validation error rust, parsing, ssr, constraints
Expected {} found end of stream
validation error rust, parsing, ssr, constraints
Unknown node kind '{}'
validation error rust, parsing, ssr, constraints
inconsistent text range
validation error rust-analyzer, rename, lsp, ambiguity
No references found at position
validation error rust-analyzer, rename, lsp, not-found
Cannot alias reference to a lifetime identifier
validation error rust-analyzer, rename, alias, lifetime
Cannot alias reference to `_`
validation error rust-analyzer, rename, alias, underscore
Cannot rename alias reference to `self`
validation error rust-analyzer, rename, alias, self-keyword
Renaming aliases is currently unsupported
validation error rust-analyzer, rename, unsupported, alias
Cannot rename local to self outside of function
validation error rust-analyzer, rename, self-parameter, validation
Method already has a self parameter
validation error rust-analyzer, rename, self-parameter, validation
Only the first parameter may be renamed to self
validation error rust-analyzer, rename, self-parameter, validation
rename_to_self invoked on destructuring parameter
validation error rust-analyzer, rename, self-parameter, pattern
Cannot rename parameter to self for trait functions
validation error rust, rename, trait, ide
Parameter type differs from impl block type
validation error rust, rename, impl, type-mismatch
Cannot rename reference to `_` as it is being referenced mul
validation error rust, rename, underscore, unused-variable
project root must point to a Cargo.toml, rust-project.json o
validation error rust-analyzer, project-model, configuration, cargo
no projects
validation error rust-analyzer, project-model, discovery, cargo
more than one project
validation error rust-analyzer, project-model, discovery, ambiguity
{:?} failed, {} stderr: {}
exception error toolchain, rustup, rustc, process-failure
{:?} failed, {}
exception error toolchain, rustup, rustc, process-failure
diagnostic error detected
exception error cli, diagnostics, static-analysis, exit-code
client exited without proper shutdown sequence
exception error lsp, rust-analyzer, shutdown, protocol
{loop_e} {join_e}
exception error lsp, rust-analyzer, io, shutdown
{join_e}
exception error lsp, rust-analyzer, io, pipe
{loop_e}
exception error lsp, rust-analyzer, shutdown, main-loop
unclosed token literal
validation error lexer, ungrammar, syntax, parse-error
invalid escape in token literal
validation error lexer, ungrammar, escape, parse-error
unexpected `\r`, only Unix-style line endings allowed
validation error lexer, ungrammar, line-endings, windows
unexpected character: `{}`
validation error lexer, ungrammar, syntax, parse-error
unexpected token, expected `{}`
validation error parser, ungrammar, syntax, parse-error
Undefined node: {}
validation error parser, ungrammar, grammar, undefined-reference
expected ident
validation error parser, ungrammar, grammar-syntax
duplicate rule: `{}`
validation error parser, ungrammar, duplicate-definition
The first element in a sequence of productions or alternativ
error_code error parser, ungrammar, syntax
unexpected token
error_code error parser, ungrammar, syntax
Failed to parse `build.target` as an array of target
error_code error config, toml, cargo, rust-analyzer
Memory profiling is not enabled for this build of rust-analy
error_code error rust-analyzer, feature-flag, profiling, build-config
Please set `rust-analyzer.profiling.memoryProfile` to the pa
error_code error rust-analyzer, config, profiling, missing-setting
Invalid LSP resolve data
error_code warning lsp, inlay-hints, stale-data, rust-analyzer
A receiver has been dropped, something panicked!
error_code critical panic, channel, lsp-server, rust-analyzer
proc-macro server closed the stream
error_code error proc-macro, ipc, eof, rust-analyzer
proc-macro server did not respond with data
error_code error
proc-macro-srv-cli needs to be compiled with the `in-rust-tr
error_code error
{e:?}: {error}
error_code error
error creating directory {path:?}: {e}
error_code error
Unable to serialize args
panic error
Unable to make path absolute
panic error
Unable to deserialize message
panic error
failed to spawn thread
panic error
received response for unknown request
panic error lsp, protocol, panic, request-queue
we never provide completions for excluded files
panic error lsp, completions, panic, file-id
we never provide code actions for excluded files
panic error lsp, code-actions, panic, file-id
serialized runnable
panic warning tests, serde, serialization, lsp-ext
cargo runnable should deserialize
panic warning tests, serde, deserialization, lsp-ext
shell runnable should deserialize
panic warning tests, serde, deserialization, lsp-ext
unable to get FileId
panic error lsp, uri, panic, indexing, virtual-documents
Unable to get AbsPath
panic error lsp, uri, panic, workspace-discovery, virtual-documents
No title could be found; this is a bug
panic error lsp, workspace-discovery, panic, config-reload, progress
Unable to convert to an AbsPath
panic error rust-analyzer, filesystem, panic, path
invalid profile longer_than
panic error rust-analyzer, tracing, profiling, parsing
invalid profile depth
panic error rust-analyzer, tracing, profiling, parsing
Unable to serialize data
panic error rust-analyzer, tracing, serialization, panic
Unable to write data
panic error rust-analyzer, tracing, io, panic
not a BlockExpr
panic error rust-analyzer, ast, internal-invariant, panic
this node should have an ast id
panic error rust-analyzer, ast, internal-invariant, panic
no block
panic warning rust-analyzer, tests, fixture, panic
`SyntaxContext::as_id()` called on a root `SyntaxContext`
panic error rust-analyzer, salsa, hygiene, internal-invariant
failed to spawn thread
panic critical rust, threads, os-resources, panic
failed to spawn thread
panic error threading, rust, resource-limits
expected at least one token
panic error rust, proc-macro, syntax, parser
`ast::DocComment` must have a comment token
panic error rust, syntax, ast, invariant
segments are always nested in paths
panic error rust, syntax, ast, invariant
UseTreeLists are always nested in UseTrees
panic error rust, syntax, ast, invariant
EnumVariants are always nested in Enums
panic error rust, syntax-tree, invariant-assertion, panic
MatchArms are always nested in MatchExprs
panic error rust, syntax-tree, invariant-assertion, panic
syntax annotation id overflow
panic error rust, overflow, panic, long-running-process, syntax-editor
reachable plan nodes are not discarded
panic error rust, internal-invariant, panic, syntax-editor
an edit target must still be present
panic error rust, syntax-editor, internal-invariant, panic
equivalent ancestor node should be present in target tree
panic error rust, syntax-tree, internal-invariant, panic
the nearest mapped ancestor must map its descendants
panic error rust, syntax-tree, internal-invariant, panic
Could not find file position in fixture. Did you forget to a
panic error rust, testing, fixture, panic
missing default crate root, specify a main.rs or lib.rs
panic error rust, testing, fixture, crate-graph, panic
macro definition has parse errors
error_code error rust, macros, parse-error, ide
cargo check failed to start: {err}
console error rust, cargo, flycheck, lsp, environment
{message}
error_code error rust, lsp, diagnostics, notification
Project discovery failed: {error}
error_code error rust, lsp, project-discovery, configuration