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

can not install in opensuse leap 15.2 #243

Closed
jgmtzmd opened this issue Jun 7, 2021 · 5 comments
Closed

can not install in opensuse leap 15.2 #243

jgmtzmd opened this issue Jun 7, 2021 · 5 comments

Comments

@jgmtzmd
Copy link

jgmtzmd commented Jun 7, 2021

tried to install with this instruction

cargo install --force --locked xplr

but i get this error:

error[E0658]: binding by-move and by-ref in the same pattern is unstable
   --> /home/jg/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/xplr-0.14.0/src/ui.rs:115:29
    |
115 |                     config: sconfig,
    |                             ^^^^^^^ by-move pattern here
...
119 |                     config: oconfig,
    |                             ------- by-ref pattern here
120 |                     splits: osplits,
    |                             ------- by-ref pattern here
    |
    = note: see issue #68354 <https://github.com/rust-lang/rust/issues/68354> for more information

error[E0658]: binding by-move and by-ref in the same pattern is unstable
   --> /home/jg/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/xplr-0.14.0/src/ui.rs:129:29
    |
129 |                     config: sconfig,
    |                             ^^^^^^^ by-move pattern here
...
133 |                     config: oconfig,
    |                             ------- by-ref pattern here
134 |                     splits: osplits,
    |                             ------- by-ref pattern here
    |
    = note: see issue #68354 <https://github.com/rust-lang/rust/issues/68354> for more information

error: aborting due to 2 previous errors

is there anything i can do to overcome this failure?

@sayanarijit
Copy link
Owner

sayanarijit commented Jun 8, 2021

Hi. What's your cargo and rustc version?

@sayanarijit
Copy link
Owner

Hi, got no response so far. I assume it was fixed, so closing this.

Feel free to reopen if not.

@jgmtzmd
Copy link
Author

jgmtzmd commented Jun 9, 2021

sorry, busy day at work.

jg@leap15 ~ $ cargo --version                                                                                                                                                                                                    
cargo 1.48.0 (65cbdd2dc 2020-10-14)
jg@leap15 ~ $ rustc --version                                                                                                                                                                                                    
rustc 1.48.0 (7eac88abb 2020-11-16)

regards

@sayanarijit
Copy link
Owner

sayanarijit commented Jun 9, 2021

Ah, it requires rustc >= 1.50

@jgmtzmd
Copy link
Author

jgmtzmd commented Jun 9, 2021

my bad, then. thanks.

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

No branches or pull requests

2 participants