Skip to content

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
Contributor

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
Collaborator

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