Skip to content

Improve compiler error message for wrong generic parameter order - #72271

Merged
bors merged 1 commit into
rust-lang:masterfrom
rakshith-ravi:master
Jun 23, 2020
Merged

bors merged 1 commit into
rust-lang:masterfrom
rakshith-ravi:master

Conversation

@rakshith-ravi

Copy link
Copy Markdown
Contributor
  • Added optional "help" parameter that shows a help message on the compiler error if required.
  • Added a simple ordered parameter as a sample help.

@varkor will make more changes as required. Let me know if I'm heading in the right direction.

Fixes #68437

r? @varkor

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve generic arg–param mismatch errors

6 participants