Skip to content

could not compile bevy_render #5044

Closed
Closed
@rookieWanZ

Description

@rookieWanZ

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 error
warning: 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 error

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorS-DuplicateThis issue or PR already existsS-User-ErrorThis issue was caused by a mistake in the user's approach

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions