E1834: rust source in the standard-library fixtures
The fixtures of the standard library, library/std/tests/, are Actus programs, and the behavior they check is written in Actus.
The fixtures of the standard library, library/std/tests/, are Actus programs,
and the behavior they check is written in Actus. Rust test logic belongs in
tests/ of the compiler repository (ADR-0041). actus conformance scans the
tree and reports each Rust file it finds there. The finding is about a whole
file, so it has no line and column: <path>: error[E1834]: message.
Cause
The command actus conformance, run in the root of the repository, finds a
file with the extension .rs anywhere below library/std/tests/. The command
exits with status 1, with or without --strict, because the finding is an error. No Actus
program can trigger it, so it has no example.
Fix
Move the Rust file out of library/std/tests/, for example to tests/, and
express the fixture itself in Actus.
Run actus explain E1834 in your terminal to read this entry offline. Browse Strict & toolchain or all error codes.