From 46ab84c66c04c45f7402fc1ee715d1f993025f59 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Wed, 27 Sep 2023 22:22:02 +0100 Subject: [PATCH] test headers: fix `compile-flags` example This is more consistent with the other examples in this file such as https://github.com/rust-lang/rustc-dev-guide/blob/a13b7c28ed705891c681ce5417b3d1cdb12cecd1/src/tests/headers.md?plain=1#L196 and --- src/tests/headers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/headers.md b/src/tests/headers.md index f066dbbb5..fce2397e5 100644 --- a/src/tests/headers.md +++ b/src/tests/headers.md @@ -190,7 +190,7 @@ The following headers are generally available, and not specific to particular test suites. * `compile-flags` passes extra command-line args to the compiler, - e.g. `compile-flags -g` which forces debuginfo to be enabled. + e.g. `// compile-flags: -g` which forces debuginfo to be enabled. * `run-flags` passes extra args to the test if the test is to be executed. * `edition` controls the edition the test should be compiled with (defaults to 2015). Example usage: `// edition:2018`.