Skip to content

Commit e7b11c1

Browse files
jyn514mark-i-m
authored andcommitted
Document edition flag for UI tests
1 parent 716adae commit e7b11c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/adding.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ 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`
182183
* `should-fail` indicates that the test should fail; used for "meta
183184
testing", where we test the compiletest program itself to check that
184185
it will generate errors in appropriate scenarios. This header is

0 commit comments

Comments
 (0)