bevy/crates/bevy_ecs_compile_fail_tests/README.md

6 lines
414 B
Markdown
Raw Normal View History

# Compile fail tests for bevy_ecs
This crate is separate from `bevy_ecs` and not part of the Bevy workspace in order to not fail `crater` tests for Bevy. The tests assert on the exact compiler errors and can easily fail for new Rust versions due to updated compiler errors (e.g. changes in spans).
The `CI` workflow executes these tests on the stable rust toolchain (see [tools/ci](../../tools/ci/src/main.rs)).