File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,9 @@ This affects which edition is used by `./x test` to run the test.
273273For example:
274274
275275- A test with the ` //@ edition: 2018 ` directive will only run under the 2018 edition.
276- - A test with the ` //@ edition: 2015..2021 ` directive can be run under the 2015, 2018, and 2021 editions.
276+ - A test with the ` //@ edition: 2015..2021 ` directive can be run under the 2015 and the 2018 edition,
277+ so the upper bound is exclusive just like in Rust
278+ (note that there's no equivalent to Rust's ` ..= ` where the upper bound is inclusive).
277279 However, CI will only run the test with the lowest edition in the range (which is 2015 in this example).
278280- A test with the ` //@ edition: 2018.. ` directive will run under 2018 edition or greater.
279281 However, CI will only run the test with the lowest edition in the range (which is 2018 in this example).
You can’t perform that action at this time.
0 commit comments