File: CONTRIBUTING.md

package info (click to toggle)
rust-bitflags 2.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 492 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (53)
1
2
3
4
5
6
7
8
9
# Updating compile-fail test outputs

`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:

```
TRYBUILD=overwrite cargo +beta test --all
```

it will run the tests and update the `trybuild` output files.