Skip to content

Commit d333d1e

Browse files
jyn514mark-i-m
authored andcommitted
Note that the default is 2015
1 parent e7b11c1 commit d333d1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests/adding.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ source.
179179
supposed to error out.
180180
* `compile-flags` passes extra command-line args to the compiler,
181181
e.g. `compile-flags -g` which forces debuginfo to be enabled.
182-
* `edition` controls the edition the test should be compiled with: `// edition:2018`
182+
* `edition` controls the edition the test should be compiled with (defaults to 2015).
183+
Example usage: `// edition:2018`
183184
* `should-fail` indicates that the test should fail; used for "meta
184185
testing", where we test the compiletest program itself to check that
185186
it will generate errors in appropriate scenarios. This header is

0 commit comments

Comments
 (0)