Adding comment to function causes "overflow evaluating the requirement" #58188
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Discovered when running
cargo check
onrust-analyzer
. The command succeeds but adding a comment before (as in// this is a comment
before https://github.com/rust-analyzer/rust-analyzer/blob/88702a758f031f33452e9acac621841552ec9f8a/crates/ra_lsp_server/src/main_loop/handlers.rs#L695causes
error: aborting due to previous error
For more information about this error, try
rustc --explain E0275
.error: Could not compile
ra_lsp_server
.The text was updated successfully, but these errors were encountered: