Hi, when I typed cargo install fcp the following error was given:
error[E0658]: use of unstable library feature 'array_from_ref'
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/fcp-0.2.0/src/lib.rs:190:61
|
190 | (Ok(metadata), _) if metadata.is_dir() => copy_into(array::from_ref(source), dest),
| ^^^^^^^^^^^^^^^
|
= note: see issue #77101 <https://github.com/rust-lang/rust/issues/77101> for more information
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.
error: could not compile `fcp`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `fcp v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installoQO1VQ`
Caused by:
build failed
So what should I do to get it to compile? Also, maybe the answer should be put on the readme page to help others :)
Hi, when I typed
cargo install fcp
the following error was given:So what should I do to get it to compile? Also, maybe the answer should be put on the readme page to help others :)