Note that the default is 2015

This commit is contained in:
Joshua Nelson 2020-09-09 08:50:04 -04:00 committed by Who? Me?!
parent 71853f5a5c
commit 01c34848a3
1 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,8 @@ source.
supposed to error out. supposed to error out.
* `compile-flags` passes extra command-line args to the compiler, * `compile-flags` passes extra command-line args to the compiler,
e.g. `compile-flags -g` which forces debuginfo to be enabled. 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 * `should-fail` indicates that the test should fail; used for "meta
testing", where we test the compiletest program itself to check that testing", where we test the compiletest program itself to check that
it will generate errors in appropriate scenarios. This header is it will generate errors in appropriate scenarios. This header is