Skip to content

Update to Bevy 0.12 (#228) #190

Update to Bevy 0.12 (#228)

Update to Bevy 0.12 (#228) #190

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Jan 5, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.0-nightly (f688dd684 2024-01-04)
  • cargo 1.77.0-nightly (add15366e 2024-01-02)
  • clippy 0.1.77 (f688dd6 2024-01-04)

Annotations

Check failure on line 130 in src/plugin.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function takes 2 arguments but 1 argument was supplied

error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> src/plugin.rs:130:20
    |
130 |     let mut mesh = Mesh::new(PrimitiveTopology::TriangleList);
    |                    ^^^^^^^^^--------------------------------- an argument of type `bevy::render::render_asset::RenderAssetPersistencePolicy` is missing
    |
note: associated function defined here
   --> /home/runner/.cargo/git/checkouts/bevy-f7ffde730c324c74/425570a/crates/bevy_render/src/mesh/mesh/mod.rs:186:12
    |
186 |     pub fn new(
    |            ^^^
help: provide the argument
    |
130 |     let mut mesh = Mesh::new(PrimitiveTopology::TriangleList, /* bevy::render::render_asset::RenderAssetPersistencePolicy */);
    |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check failure on line 130 in src/plugin.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function takes 2 arguments but 1 argument was supplied

error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> src/plugin.rs:130:20
    |
130 |     let mut mesh = Mesh::new(PrimitiveTopology::TriangleList);
    |                    ^^^^^^^^^--------------------------------- an argument of type `bevy::render::render_asset::RenderAssetPersistencePolicy` is missing
    |
note: associated function defined here
   --> /home/runner/.cargo/git/checkouts/bevy-f7ffde730c324c74/425570a/crates/bevy_render/src/mesh/mesh/mod.rs:186:12
    |
186 |     pub fn new(
    |            ^^^
help: provide the argument
    |
130 |     let mut mesh = Mesh::new(PrimitiveTopology::TriangleList, /* bevy::render::render_asset::RenderAssetPersistencePolicy */);
    |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~