Skip to content

bevy_ecs regression: normalization where-bounds > alias-bounds #175

Closed
@compiler-errors

Description

@compiler-errors

Not yet minimized

https://crater-reports.s3.amazonaws.com/pr-133502-1/try%23fa8e241660363f48d64b66b05eea58c93ab828fb/reg/bevy_app-0.16.0-rc.3/log.txt

[INFO] [stdout] error[E0283]: type annotations needed: cannot satisfy `MaybeLocation: FromReflect`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_ecs-0.16.0-rc.3/src/event/base.rs:118:12
[INFO] [stdout]      |
[INFO] [stdout] 118  | pub struct EventId<E: Event> {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] note: multiple `impl`s or `where` clauses satisfying `MaybeLocation: FromReflect` found
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_ecs-0.16.0-rc.3/src/change_detection.rs:1197:45
[INFO] [stdout]      |
[INFO] [stdout] 1197 | #[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
[INFO] [stdout]      |                                             ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_ecs-0.16.0-rc.3/src/event/base.rs:115:12
[INFO] [stdout]      |
[INFO] [stdout] 115  |     derive(Reflect),
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] note: required for `EventId<E>` to implement `GetTypeRegistration`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bevy_ecs-0.16.0-rc.3/src/event/base.rs:115:12
[INFO] [stdout]      |
[INFO] [stdout] 115  |     derive(Reflect),
[INFO] [stdout]      |            ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
[INFO] [stdout] ...
[INFO] [stdout] 118  | pub struct EventId<E: Event> {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: this error originates in the derive macro `Reflect` (in Nightly builds, run with -Z macro-backtrace for more info)

Tons of ambiguities when building bevy_ecs.

Metadata

Metadata

Assignees

Labels

from-craterA regression found via a crater run, not part of our test suite

Type

No type

Projects

Status

done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions