aboutsummaryrefslogtreecommitdiff
path: root/vendor/bitflags/CONTRIBUTING.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/bitflags/CONTRIBUTING.md')
-rw-r--r--vendor/bitflags/CONTRIBUTING.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/bitflags/CONTRIBUTING.md b/vendor/bitflags/CONTRIBUTING.md
new file mode 100644
index 0000000..5883363
--- /dev/null
+++ b/vendor/bitflags/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.