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

Update tracking bug for removal of YokeTraitHack #1134

Merged
merged 3 commits into from
Oct 3, 2021

Conversation

sffc
Copy link
Member

@sffc sffc commented Oct 1, 2021

Replaces #1090

@sffc sffc requested a review from Manishearth October 1, 2021 07:44
//! ***[#1061](https://github.com/unicode-org/icu4x/issues/1061): The following example
//! compiles starting in Rust 1.56.
//! ```compile_fail
//! trait MiniYokeable<'a> {
Copy link
Member

Choose a reason for hiding this comment

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

Let's not check in MiniYoke stuff: can we get the version of this that uses actual Yoke?

Copy link
Member Author

Choose a reason for hiding this comment

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

I was afraid you'd ask that... I copied my minified example into here because it serves the purpose of the compile_fail. But I'll try to un-minify it...

Copy link
Member

Choose a reason for hiding this comment

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

Yeah I'd like this to show off the kind of code that will actually break in ICU4X :)

Copy link
Member Author

Choose a reason for hiding this comment

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

ok so note that this is in the yoke crate, not the icu_provider crate. So I updated the example to use the real Yoke/Yokeable but MiniDataProvider. Is that ok or do you want me to add the dev dependency, or move this to the other crate?

@sffc sffc merged commit 2d64d81 into unicode-org:main Oct 3, 2021
@sffc sffc deleted the yoke-trait-update branch October 3, 2021 05:29
robertbastian pushed a commit to robertbastian/icu4x that referenced this pull request Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants