could not compile bevy_render #5044
Labels
C-Bug
An unexpected or incorrect behavior
S-Duplicate
This issue or PR already exists
S-User-Error
This issue was caused by a mistake in the user's approach
Bevy version
0.8.0
The release number or commit hash of the version you're using.
8b27124
[Optional] Relevant system information
WIN10
Msys2
rustc 1.60.0
cargo 1.60.0
After I git the newest bevy
Then "cargo run --example breakout"
it rolls out the error info as following:
Compiling bevy_render v0.8.0-dev (E:\Cmder_Project\bevy\bevy\crates\bevy_render)
error[E0658]: trait bounds other than
Sized
on const fn parameters are unstable--> crates\bevy_render\src\render_resource\buffer_vec.rs:17:6
|
17 | impl<T: Pod> BufferVec {
| ^
18 | pub const fn new(buffer_usage: BufferUsages) -> Self {
| ---------------------------------------------------- function declared as const here
|
= note: see issue #93706 rust-lang/rust#93706 for more information
For more information about this error, try
rustc --explain E0658
.error: could not compile
bevy_render
due to previous errorwarning: build failed, waiting for other jobs to finish...
error: build failed
Admin@DESKTOP-3SIKCVE MINGW64 /e/Cmder_Project/bevy/bevy
cargo run --example breakout
Compiling bevy_render v0.8.0-dev (E:\Cmder_Project\bevy\bevy\crates\bevy_render)
error[E0658]: trait bounds other than
Sized
on const fn parameters are unstable--> crates\bevy_render\src\render_resource\buffer_vec.rs:17:6
|
17 | impl<T: Pod> BufferVec {
| ^
18 | pub const fn new(buffer_usage: BufferUsages) -> Self {
| ---------------------------------------------------- function declared as const here
|
= note: see issue #93706 rust-lang/rust#93706 for more information
For more information about this error, try
rustc --explain E0658
.error: could not compile
bevy_render
due to previous errorThe text was updated successfully, but these errors were encountered: