• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Updating compile-fail test outputs
2
3`bitflags` uses the `trybuild` crate to integration test its macros. Since Rust error messages change frequently enough that `nightly` builds produce spurious failures, we only check the compiler output in `beta` builds. If you run:
4
5```
6TRYBUILD=overwrite cargo +beta test --all
7```
8
9it will run the tests and update the `trybuild` output files.
10