Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

iter_copied error #353

Closed
dvogt23 opened this issue Oct 31, 2019 · 2 comments
Closed

iter_copied error #353

dvogt23 opened this issue Oct 31, 2019 · 2 comments

Comments

@dvogt23
Copy link

dvogt23 commented Oct 31, 2019

I got following compile error:

[170/1118]   Compiling toml v0.5.4
error[E0658]: use of unstable library feature 'iter_copied' (see issue #57127)
   --> /home/dvogt/.cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.5.4/src/de.rs:435:30
    |
435 |                             .copied()
    |                              ^^^^^^

error[E0658]: use of unstable library feature 'iter_copied' (see issue #57127)
   --> /home/dvogt/.cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.5.4/src/de.rs:575:22
    |
575 |                     .copied()
    |                      ^^^^^^

error: aborting due to 2 previous errors

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

Actually i switch to the 0.4 version.

My version:

stable-x86_64-unknown-linux-gnu (default)
rustc 1.35.0 (3c235d560 2019-05-20)
@ehuss
Copy link
Collaborator

ehuss commented Oct 31, 2019

rustc 1.35.0 (3c235d560 2019-05-20)

I think the oldest version of rustc that works is 1.36. Can you update to a newer version?

@dvogt23
Copy link
Author

dvogt23 commented Nov 4, 2019

With a newer version of rustc it works. Thanks. Also to @dunnock

@dvogt23 dvogt23 closed this as completed Nov 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants