From db28f4c10070a14e0cf667565a3a683c9fa4859d Mon Sep 17 00:00:00 2001
From: Chris Wong <lambda.fairy@gmail.com>
Date: Sun, 27 Sep 2020 21:33:37 +1000
Subject: [PATCH] Add trybuild tests to config

---
 .travis.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index ec8a16a..31bd92f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -50,3 +50,6 @@ jobs:
         - cargo fmt -- --check
         - (cd benchmarks && cargo fmt -- --check)
         - (cd docs && cargo fmt -- --check)
+        # trybuild harnesses are technically not part of the Cargo project, so
+        # need to be checked separately
+        - rustfmt --check maud/tests/warnings/*.rs