From 01c34848a358ec8fd8957f842a6c7062f8c52a7e Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Wed, 9 Sep 2020 08:50:04 -0400 Subject: [PATCH] Note that the default is 2015 --- src/tests/adding.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/adding.md b/src/tests/adding.md index 57ee4933..4576e377 100644 --- a/src/tests/adding.md +++ b/src/tests/adding.md @@ -179,7 +179,8 @@ source. supposed to error out. * `compile-flags` passes extra command-line args to the compiler, e.g. `compile-flags -g` which forces debuginfo to be enabled. -* `edition` controls the edition the test should be compiled with: `// edition:2018` +* `edition` controls the edition the test should be compiled with (defaults to 2015). + Example usage: `// edition:2018` * `should-fail` indicates that the test should fail; used for "meta testing", where we test the compiletest program itself to check that it will generate errors in appropriate scenarios. This header is