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

no method named select_nth_unstable_by found for mutable reference &mut [T] #283

Closed
Jeeesie opened this issue May 11, 2021 · 2 comments
Closed
Labels

Comments

@Jeeesie
Copy link

Jeeesie commented May 11, 2021

rust toolchain is nightly-2020-04-22-x86_64-pc-windows-msvc unchanged - rustc 1.44.0-nightly
when I use 'cargo build ' to build the projects under path $Ballista_Home/rust
I meet the error :

error[E0599]: no method named select_nth_unstable_byfound for mutable reference&mut [T]in the current scope --> D:\cargo_home\git\checkouts\arrow-rs-3b86e19e889d5acc\08a662f\arrow\src\compute\kernels\sort.rs:883:36 | 883 | let (before, _mid, _after) = v.select_nth_unstable_by(limit, &mut is_less); | ^^^^^^^^^^^^^^^^^^^^^^ method not found in&mut [T]

@Dandandan
Copy link
Contributor

Dandandan commented May 11, 2021

select_nth_unstable_by is stabilized in a later rust version (1.49).
Could you upgrade the compiler version?

I also moved the issue to the arrow-rs repo as it originates there.

@Dandandan Dandandan transferred this issue from apache/datafusion May 11, 2021
@Dandandan Dandandan added the bug label May 11, 2021
@Jeeesie
Copy link
Author

Jeeesie commented May 11, 2021

Yeah, resolved. Thanks for the quick answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants