Skip to content

Commit

Permalink
stub out a contributing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Apr 20, 2022
1 parent 557ab79 commit 74abeb7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
@@ -0,0 +1,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.

0 comments on commit 74abeb7

Please sign in to comment.