From 76e1199f2642569754df94975ab9f9de03e77194 Mon Sep 17 00:00:00 2001 From: Peter Tseng Date: Tue, 20 Mar 2018 02:11:53 +0000 Subject: [PATCH] macros: Allow stub to not compile The stub in fact does not compile and has never compiled ever since the exercise was added in https://github.com/exercism/rust/pull/401. However, it is intentional that the stub does not compile, so we allow it not to. This was not caught by https://github.com/exercism/rust/pull/372 because of https://github.com/exercism/rust/pull/381 having tricked the Rust compiler into thinking it had already compiled the stub. This is required to be able to merge https://github.com/exercism/rust/pull/483. --- exercises/macros/.meta/ALLOWED_TO_NOT_COMPILE | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 exercises/macros/.meta/ALLOWED_TO_NOT_COMPILE diff --git a/exercises/macros/.meta/ALLOWED_TO_NOT_COMPILE b/exercises/macros/.meta/ALLOWED_TO_NOT_COMPILE new file mode 100644 index 000000000..7a705bc81 --- /dev/null +++ b/exercises/macros/.meta/ALLOWED_TO_NOT_COMPILE @@ -0,0 +1,2 @@ +Stub doesn't compile because there is no rule for the macro forms in the test file. +Providing these rules would reduce student learning, so we do not.