Skip to content

Cleanup err codes #67422

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Dec 21, 2019
Merged

Cleanup err codes #67422

merged 4 commits into from
Dec 21, 2019

Conversation

GuillaumeGomez
Copy link
Member

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 19, 2019
@@ -1,10 +1,24 @@
In order to be consistent with Rust's lack of global type inference,
type and const placeholders are disallowed by de# item signatures.
The type placeholder `_` was used withing a type on an item's signature.
Copy link
Contributor

@LeSeulArtichaut LeSeulArtichaut Dec 19, 2019

Choose a reason for hiding this comment

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

I think you made a typo here. Did you mean this?

Suggested change
The type placeholder `_` was used withing a type on an item's signature.
The type placeholder `_` was used within a type on an item's signature.

Dylan-DPC-zz
Dylan-DPC-zz previously approved these changes Dec 19, 2019
@@ -1,5 +1,7 @@
An attempt was made to implement Drop on a trait, which is not allowed: only
structs and enums can implement Drop. An example causing this error:
The Drop was implemented on a trait, which is not allowed: only structs and

Choose a reason for hiding this comment

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

Suggested change
The Drop was implemented on a trait, which is not allowed: only structs and
The Drop trait was implemented on a trait, which is not allowed: only structs and

@Dylan-DPC-zz Dylan-DPC-zz dismissed their stale review December 19, 2019 17:39

wrong button

@Dylan-DPC-zz
Copy link

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Dec 21, 2019

📌 Commit dce0f06 has been approved by Dylan-DPC

@bors
Copy link
Collaborator

bors commented Dec 21, 2019

🌲 The tree is currently closed for pull requests below priority 100, this pull request will be tested once the tree is reopened

@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-review Status: Awaiting review from the assignee but also interested parties. labels Dec 21, 2019
Centril added a commit to Centril/rust that referenced this pull request Dec 21, 2019
Centril added a commit to Centril/rust that referenced this pull request Dec 21, 2019
bors added a commit that referenced this pull request Dec 21, 2019
Rollup of 7 pull requests

Successful merges:

 - #67059 (Fix too restrictive checks on Drop impls)
 - #67355 (Merge `ast::Mutability` and `mir::Mutability`)
 - #67393 (Enable opting out of specific default LLVM arguments.)
 - #67422 (Cleanup err codes)
 - #67462 (Make ptr::slice_from_raw_parts a const fn available under a feature flag)
 - #67467 (Test slice patterns more)
 - #67478 (Fix src/libcore/str/mod.rs doc comments)

Failed merges:

r? @ghost
@bors bors merged commit dce0f06 into rust-lang:master Dec 21, 2019
@GuillaumeGomez GuillaumeGomez deleted the cleanup-err-codes branch December 22, 2019 10:24
# for free to join this conversation on GitHub. Already have an account? # 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.

6 participants