Const reference help message does not use type annotations #84210
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-bug
Category: This is a bug.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
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=2018&gist=ea6b44e39b5b86350d6426f355610990
The current output is:
Ideally the output should look like:
The compiler currently does not use type annotations for the help message, and instead asks for a double-mutable reference(?).
This happens on both stable and nightly.
The text was updated successfully, but these errors were encountered: