We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$RUST_VERSION
1 parent 4fa99d6 commit c3a357aCopy full SHA for c3a357a
src/doc/rustc-dev-guide/src/tests/ui.md
@@ -107,6 +107,8 @@ platforms, mainly about filenames.
107
108
Compiletest makes the following replacements on the compiler output:
109
110
+- The rust version string (e.g. `1.89.0-beta.1 (88b80702e 2025-06-23)`) is
111
+ replaced with `$RUST_VERSION`.
112
- The directory where the test is defined is replaced with `$DIR`. Example:
113
`/path/to/rust/tests/ui/error-codes`
114
- The directory to the standard library source is replaced with `$SRC_DIR`.
0 commit comments