-
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
Rollup of 5 pull requests #27082
Rollup of 5 pull requests #27082
Conversation
Manishearth
commented
Jul 17, 2015
- Successful merges: Detect duplicate implementations of assoc. types and constants. #25993, Fix documentation IP ranges: e.g., 192.0.2.* instead of 192.*.2.*. #27038, Fix stability attribute typo. #27069, debuginfo: Fix type description generic enum discriminants. #27070, Fixed typo #27080
- Failed merges: TRPL: minimize diff between examples in "Error Handling" #27034, std: Add IntoRaw{Fd,Handle,Socket} traits #27064
Expands E0201 to be used for any duplicate associated items, not just duplicate methods/functions. It also correctly detects when two different kinds of items (like a constant and a method) have the same name. Fixes rust-lang#23969.
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ p=100 force |
📌 Commit e6b9380 has been approved by |
⌛ Testing commit e6b9380 with merge ac44f72... |
💔 Test failed - auto-mac-64-opt |
@bors r+ p=100 force |
📌 Commit cf91389 has been approved by |
⌛ Testing commit cf91389 with merge 2b7ea4c... |
💔 Test failed - auto-mac-64-opt |
I fixed a single character typo. r? @steveklabnik
@bors r+ force |
📌 Commit ed8b7ea has been approved by |
Adds two error codes, one for duplicate associated constants and one for types. I'm not certain these should each have their own code, but E0201 is already solely for duplicate associated functions so at least it kinda matches. This will lead to somewhat redundant error explanations, but that's nothing new! Fixes rust-lang#23969.
…hton Pretty sure this should apply to the module. r? @alexcrichton