Way too much (unhelpful) help is provided when mistakenly calling .borrow_mut() on a struct #100894
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=7da23c03f267a3483798d0615ee24563
The current output is:
The output gets really out of control if you have a struct with 50 fields or so, which is what I'm currently looking at.
At the moment this only happens on nightly.
The text was updated successfully, but these errors were encountered: