Skip to content
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

clean up E0404 explanation #69887

Merged
merged 1 commit into from
Mar 27, 2020
Merged

Conversation

GuillaumeGomez
Copy link
Member

@@ -1,5 +1,5 @@
You tried to use something which is not a trait in a trait position, such as
a bound or `impl`.
Something which is not a trait was used in a trait position, such as a bound

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Something which is not a trait was used in a trait position, such as a bound
A type that is not a trait was used in a trait position, such as a bound

@@ -18,8 +18,8 @@ struct Foo;
fn bar<T: Foo>(t: T) {} // error: `Foo` is not a trait
```

Please verify that you didn't misspell the trait's name or otherwise use the
wrong identifier. Example:
Please verify that the trait's name was not misspelled or othrewise that the

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Please verify that the trait's name was not misspelled or othrewise that the
Please verify that the trait's name was not misspelled or that the

@JohnTitor JohnTitor added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Mar 15, 2020
@Dylan-DPC-zz
Copy link

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Mar 27, 2020

📌 Commit 88100ba has been approved by Dylan-DPC

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 27, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 27, 2020
Rollup of 4 pull requests

Successful merges:

 - rust-lang#65222 (Proposal: `fold_self` and `try_fold_self` for Iterators)
 - rust-lang#69887 (clean up E0404 explanation)
 - rust-lang#70068 (use "gcc" instead of "cc" on *-sun-solaris systems when linking)
 - rust-lang#70470 (Clean up E0463 explanation)

Failed merges:

r? @ghost
@bors bors merged commit 6b6c470 into rust-lang:master Mar 27, 2020
@GuillaumeGomez GuillaumeGomez deleted the cleanup-e0404 branch March 28, 2020 15:42
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.

4 participants