summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-09-09 08:50:04 -0400
committerWho? Me?! <mark-i-m@users.noreply.github.com>2020-09-12 13:12:14 -0500
commit27d5948e409caaa95e95b7e381f7777a3432d9c6 (patch)
treedc7e4387de7c54889aa2b6242ee5631dda14d8c1 /src/doc/rustc-dev-guide
parentcae32c9e598a46f107a69d99327b68624e5f792b (diff)
downloadrust-27d5948e409caaa95e95b7e381f7777a3432d9c6.tar.gz
rust-27d5948e409caaa95e95b7e381f7777a3432d9c6.zip
Note that the default is 2015
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/tests/adding.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/adding.md b/src/doc/rustc-dev-guide/src/tests/adding.md
index 57ee49338b7..4576e377e02 100644
--- a/src/doc/rustc-dev-guide/src/tests/adding.md
+++ b/src/doc/rustc-dev-guide/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