-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add E0036 error explanation #26400
Add E0036 error explanation #26400
Conversation
r? @Aatch (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -211,6 +211,53 @@ Reference: | |||
http://doc.rust-lang.org/reference.html#trait-objects | |||
"##, | |||
|
|||
E0036: r##" | |||
This error occurred when you pass too many or not enough type parameters to a | |||
method. Bad example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“Bad example” suggests that this example itself is of unsatisfactory quality, while this example simply demonstrates how such an error might be caused. I suggest dropping “Bad” here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, I remove it!
@nagisa: Updated, thanks for your help! Do you see anything else? |
@bors r+ |
📌 Commit 222e127 has been approved by |
@bors r+ |
📌 Commit 222e127 has been approved by |
@bors r+ |
📌 Commit 38950ae has been approved by |
Part of #24407.
cc @michaelsproul