Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

v2.4.0 컴파일 오류 #451

Closed
lindoli opened this issue Apr 11, 2021 · 2 comments
Closed

v2.4.0 컴파일 오류 #451

lindoli opened this issue Apr 11, 2021 · 2 comments
Labels

Comments

@lindoli
Copy link

lindoli commented Apr 11, 2021

2.4.0 버전을 컴파일하는데 다음과 같이 enum-map 컴파일 단계에서 오류가 발생하는데, 어떻게 조치를 하면 될까요?

Compiling enum-map v1.0.0
error[E0658]: const generics are unstable
--> /root/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/enum-map-1.0.0/src/internal.rs:28:15
|
28 | impl<V, const N: usize> Array for [V; N] {
| ^
|
= note: see issue #74878 rust-lang/rust#74878 for more information

error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile enum-map

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

@Riey
Copy link
Owner

Riey commented Apr 11, 2021

rust 버전이 1.51.0 이상이여야 합니다

@Riey Riey added the question label Apr 11, 2021
@lindoli
Copy link
Author

lindoli commented Apr 11, 2021

감사합니다. rust를 업그레이드한 후 정상적으로 컴파일되었습니다.

@lindoli lindoli closed this as completed Apr 11, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants