Syntactically invalid suggestion for "help: consider further restricting this bound" #93828
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.
Hi there!
Given the following code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=a4dec9e7f93eb65805bcd2d986ba009e
The current output is:
Ideally the output should look like:
The generated code is invalid, the restricting must be placed after the trait name.
The text was updated successfully, but these errors were encountered: