-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Cleanup err codes #67422
Cleanup err codes #67422
Conversation
@@ -1,10 +1,24 @@ | |||
In order to be consistent with Rust's lack of global type inference, | |||
type and const placeholders are disallowed by design in item signatures. | |||
The type placeholder `_` was used withing a type on an item's signature. |
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 think you made a typo here. Did you mean this?
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. |
@@ -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 |
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.
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 |
@bors r+ rollup |
📌 Commit dce0f06 has been approved by |
🌲 The tree is currently closed for pull requests below priority 100, this pull request will be tested once the tree is reopened |
…=Dylan-DPC Cleanup err codes r? @Dylan-DPC
…=Dylan-DPC Cleanup err codes r? @Dylan-DPC
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
r? @Dylan-DPC