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

Compile error: use of unstable library feature 'unicode_internals' #7

Closed
leenozara opened this issue Jul 26, 2019 · 5 comments · Fixed by #8
Closed

Compile error: use of unstable library feature 'unicode_internals' #7

leenozara opened this issue Jul 26, 2019 · 5 comments · Fixed by #8

Comments

@leenozara
Copy link
Contributor

error[E0658]: use of unstable library feature 'unicode_internals'
   --> src/fmt_macros.rs:422:34
    |
422 |             Some(&(pos, c)) if c.is_xid_start() => {
    |                                  ^^^^^^^^^^^^
    |
    = help: add `#![feature(unicode_internals)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'unicode_internals'
   --> src/fmt_macros.rs:431:18
    |
431 |             if c.is_xid_continue() {
    |                  ^^^^^^^^^^^^^^^
    |
    = help: add `#![feature(unicode_internals)]` to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.
error: Could not compile `runtime-fmt`.

I'll provide a PR shortly.

@trinity-1686a
Copy link
Contributor

When will the crate version be bumped so that the fix is available on crates.io?

@SpaceManiac
Copy link
Owner

@fdb-hiroshima It's done.

@igalic
Copy link

igalic commented Sep 11, 2019

interestingly, just a month later, not only does this not work any more:

error[E0599]: no method named `is_xid_start` found for type `char` in the current scope
   --> /home/meena/.cargo/registry/src/github.com-1ecc6299db9ec823/runtime-fmt-0.4.0/src/fmt_macros.rs:422:34
    |
422 |             Some(&(pos, c)) if c.is_xid_start() => {
    |                                  ^^^^^^^^^^^^ method not found in `char`

error[E0599]: no method named `is_xid_continue` found for type `char` in the current scope
   --> /home/meena/.cargo/registry/src/github.com-1ecc6299db9ec823/runtime-fmt-0.4.0/src/fmt_macros.rs:431:18
    |
431 |             if c.is_xid_continue() {
    |                  ^^^^^^^^^^^^^^^ method not found in `char`

error: aborting due to 2 previous errors

@trinity-1686a
Copy link
Contributor

what rustc version?

@igalic
Copy link

igalic commented Sep 11, 2019

@fdb-hiroshima see #10.

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 a pull request may close this issue.

4 participants