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

Remove ord lang item #66941

Merged
merged 1 commit into from
Dec 3, 2019
Merged

Remove ord lang item #66941

merged 1 commit into from
Dec 3, 2019

Conversation

CAD97
Copy link
Contributor

@CAD97 CAD97 commented Dec 1, 2019

At this point it seems to be unused, and just partial_ord is used instead. This removes the unused lang item.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 1, 2019
@Dylan-DPC-zz
Copy link

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Dec 2, 2019

📌 Commit ac57e1b 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-review Status: Awaiting review from the assignee but also interested parties. labels Dec 2, 2019
@CAD97
Copy link
Contributor Author

CAD97 commented Dec 3, 2019

Do the smoke tests cover #[derive(Ord)]? I'm thinking now that that derive may require this lang item (or should, in theory), though the lang item still didn't appear to be used by my simple search.

(IOW, I don't really think this should be rolled up as it's not really low risk.)

Centril added a commit to Centril/rust that referenced this pull request Dec 3, 2019
Remove `ord` lang item

At this point it seems to be unused, and just `partial_ord` is used instead. This removes the unused lang item.
Centril added a commit to Centril/rust that referenced this pull request Dec 3, 2019
Remove `ord` lang item

At this point it seems to be unused, and just `partial_ord` is used instead. This removes the unused lang item.
bors added a commit that referenced this pull request Dec 3, 2019
Rollup of 6 pull requests

Successful merges:

 - #66148 (Show the sign for signed ops on `exact_div`)
 - #66651 (Add `enclosing scope` parameter to `rustc_on_unimplemented`)
 - #66904 (Adding docs for keyword match, move)
 - #66935 (syntax: Unify macro and attribute arguments in AST)
 - #66941 (Remove `ord` lang item)
 - #66967 (Remove hack for top-level or-patterns in match checking)

Failed merges:

r? @ghost
@bors bors merged commit ac57e1b into rust-lang:master Dec 3, 2019
@CAD97 CAD97 deleted the nord branch December 3, 2019 17:06
bors added a commit to rust-lang/rust-clippy that referenced this pull request Dec 3, 2019
Rustup

Included rustups:

- rust-lang/rust#66935 (syntax: Unify macro and attribute arguments in AST)
- rust-lang/rust#66941 (Remove `ord` lang item)

Fixes? #2597

changelog: none
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.

5 participants