diff options
| author | Michael Howell <michael@notriddle.com> | 2025-03-02 19:37:40 -0700 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2025-03-10 01:47:36 +0100 |
| commit | 9cf531d26f474917f21a750d8b5fb61bbbae8faa (patch) | |
| tree | 95a98a0d8473151277d3707a38fe6f2cf3cc0119 /tests/rustdoc-ui/doctest/doctest-output.rs | |
| parent | 5d6eeea5f969a5a3478de3904e9e02df68ce8b89 (diff) | |
| download | rust-9cf531d26f474917f21a750d8b5fb61bbbae8faa.tar.gz rust-9cf531d26f474917f21a750d8b5fb61bbbae8faa.zip | |
doctests: build test bundle and harness separately
This prevents the included test case from getting at nightly-only features when run on stable. The harness builds with RUSTC_BOOTSTRAP, but the bundle doesn't.
Diffstat (limited to 'tests/rustdoc-ui/doctest/doctest-output.rs')
| -rw-r--r-- | tests/rustdoc-ui/doctest/doctest-output.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/doctest/doctest-output.rs b/tests/rustdoc-ui/doctest/doctest-output.rs index fb4ab068000..04bd1813b4c 100644 --- a/tests/rustdoc-ui/doctest/doctest-output.rs +++ b/tests/rustdoc-ui/doctest/doctest-output.rs @@ -2,7 +2,7 @@ //@[edition2015]edition:2015 //@[edition2015]aux-build:extern_macros.rs //@[edition2015]compile-flags:--test --test-args=--test-threads=1 -//@[edition2024]edition:2015 +//@[edition2024]edition:2024 //@[edition2024]aux-build:extern_macros.rs //@[edition2024]compile-flags:--test --test-args=--test-threads=1 //@ normalize-stdout: "tests/rustdoc-ui/doctest" -> "$$DIR" |
