-
Notifications
You must be signed in to change notification settings - Fork 179
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
Conversation
utils/yoke/src/trait_hack.rs
Outdated
//! ***[#1061](https://github.com/unicode-org/icu4x/issues/1061): The following example | ||
//! compiles starting in Rust 1.56. | ||
//! ```compile_fail | ||
//! trait MiniYokeable<'a> { |
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.
Let's not check in MiniYoke stuff: can we get the version of this that uses actual Yoke?
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 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...
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.
Yeah I'd like this to show off the kind of code that will actually break in ICU4X :)
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.
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?
Replaces #1090