@@ -4,7 +4,7 @@ use crate::world::World;
4
4
5
5
use fixedbitset:: FixedBitSet ;
6
6
7
- #[ derive( Copy , Clone , Debug , PartialEq , Eq , PartialOrd , Ord ) ]
7
+ #[ derive( Copy , Clone , Debug , PartialEq , Eq ) ]
8
8
/// Systems that access the same Component or Resource within the same stage
9
9
/// risk an ambiguous order that could result in logic bugs, unless they have an
10
10
/// explicit execution ordering constraint between them.
@@ -206,7 +206,7 @@ impl SystemStage {
206
206
debug_assert ! ( !self . systems_modified) ;
207
207
208
208
// TODO: remove all internal ambiguities and remove this logic
209
- let ignored_crates = if report_level < ReportExecutionOrderAmbiguities :: ReportInternal {
209
+ let ignored_crates = if report_level != ReportExecutionOrderAmbiguities :: ReportInternal {
210
210
vec ! [
211
211
// Rendering
212
212
"bevy_render" . to_string( ) ,
@@ -255,7 +255,7 @@ impl SystemStage {
255
255
println ! ( "\n One of your stages contains {unresolved_count} pairs of systems with unknown order and conflicting data access. \
256
256
You may want to add `.before()` or `.after()` constraints between some of these systems to prevent bugs.\n ") ;
257
257
258
- if report_level < = ReportExecutionOrderAmbiguities :: Minimal {
258
+ if report_level = = ReportExecutionOrderAmbiguities :: Minimal {
259
259
println ! ( "Set the level of the `ReportExecutionOrderAmbiguities` resource to `AmbiguityReportLevel::Verbose` for more details." ) ;
260
260
} else {
261
261
// TODO: clean up this logic once exclusive systems are more compatible with parallel systems
0 commit comments