bevy/crates/bevy_macros_compile_fail_tests
Brezak 69e78bd03e
Fix Ci failing over dead code in tests (#12623)
# Objective

Fix Pr CI failing over dead code in tests and main branch CI failing
over a missing semicolon. Fixes #12620.

## Solution

Add dead_code annotations and a semicolon.
2024-03-21 18:08:47 +00:00
..
src bevy_derive: Add #[deref] attribute (#8552) 2023-05-16 18:29:09 +00:00
tests Fix Ci failing over dead code in tests (#12623) 2024-03-21 18:08:47 +00:00
Cargo.toml Standardize toml format with taplo (#10594) 2023-11-21 01:04:14 +00:00
README.md bevy_derive: Add #[deref] attribute (#8552) 2023-05-16 18:29:09 +00:00

Compile fail tests for Bevy macros

This crate is 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).