We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c4d55c commit 0a92516Copy full SHA for 0a92516
src/tests/adding.md
@@ -51,7 +51,7 @@ Let's place our async test at `tests/ui/async-await/await-without-async.rs`:
51
52
```rust,ignore
53
// Check what happens when using await in a non-async fn.
54
-// edition:2018
+//@ edition:2018
55
56
async fn foo() {}
57
@@ -66,7 +66,7 @@ A few things to notice about our test:
66
67
* The top should start with a short comment that [explains what the test is
68
for](#explanatory_comment).
69
-* The `// edition:2018` comment is called a [header](headers.md) which provides
+* The `//@ edition:2018` comment is called a [header](headers.md) which provides
70
instructions to compiletest on how to build the test.
71
Here we need to set the edition for `async` to work (the default is 2015).
72
* Following that is the source of the test.
0 commit comments