-
Any idea what I'm doing wrong? error[E0432]: unresolved import `super::Commands`
--> C:\Users\beavercomputer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\system\commands\parallel_scope.rs:12:27
|
12 | use super::{CommandQueue, Commands};
| ^^^^^^^^
| |
| no `Commands` in `system::commands`
| help: a similar name exists in the module: `Command`
error[E0432]: unresolved import `crate::system::Commands`
--> C:\Users\beavercomputer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\lib.rs:52:13
|
52 | Commands, Deferred, In, IntoSystem, Local, NonSend, NonSendMut, ParallelCommands,
| ^^^^^^^^
| |
| no `Commands` in `system`
| help: a similar name exists in the module (notice the capitalization): `commands`
error[E0412]: cannot find type `Commands` in this scope
--> C:\Users\beavercomputer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\system\commands\mod.rs:127:14
|
46 | pub trait Command: Send + 'static {
| --------------------------------- similarly named trait `Command` defined here
...
127 | impl<'w, 's> Commands<'w, 's> {
| ^^^^^^^^ help: a trait with a similar name exists: `Command`
error[E0412]: cannot find type `Commands` in this scope
--> C:\Users\beavercomputer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\system\commands\mod.rs:653:34
|
46 | pub trait Command: Send + 'static {
| --------------------------------- similarly named trait `Command` defined here
...
653 | pub(crate) commands: &'a mut Commands<'w, 's>,
| ^^^^^^^^ help: a trait with a similar name exists: `Command`
error[E0412]: cannot find type `Commands` in this scope
--> C:\Users\beavercomputer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\system\commands\mod.rs:900:40
|
46 | pub trait Command: Send + 'static {
| --------------------------------- similarly named trait `Command` defined here
...
900 | pub fn commands(&mut self) -> &mut Commands<'w, 's> {
| ^^^^^^^^ help: a trait with a similar name exists: `Command`
error[E0412]: cannot find type `Commands` in module `crate::system`
--> C:\Users\beavercomputer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\system\system_param.rs:1423:41
|
1423 | pub type SCommands = crate::system::Commands<'static, 'static>;
| ^^^^^^^^ help: a trait with a similar name exists: `Command`
|
::: C:\Users\beavercomputer\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\system\commands\mod.rs:46:1
|
46 | pub trait Command: Send + 'static {
| --------------------------------- similarly named trait `Command` defined here |
Beta Was this translation helpful? Give feedback.
Answered by
archsolar
Dec 13, 2023
Replies: 2 comments
-
code: https://github.com/archsolar/blob-eater/blob/master/src/main.rs |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just needed a quick clean |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
archsolar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just needed a quick clean