diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-02-28 13:24:46 -0500 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-06-06 00:44:54 -0400 |
| commit | 1cdc81bdc109dab9a71108201a0e8edf24efeafa (patch) | |
| tree | 553d7ca320c09c6b0962769437e123d0f911292b /src/test/rustdoc-ui | |
| parent | 34b9932f5c0f519d6b9b9f95f21723142c5dc877 (diff) | |
| download | rust-1cdc81bdc109dab9a71108201a0e8edf24efeafa.tar.gz rust-1cdc81bdc109dab9a71108201a0e8edf24efeafa.zip | |
Don't pass -Z unstable-options by default for UI tests
- Pass it explicitly where appropriate - Update stderr files and warnings; it turns that unstable-options has far-reaching effects on diagnostics.
Diffstat (limited to 'src/test/rustdoc-ui')
| -rw-r--r-- | src/test/rustdoc-ui/run-directory.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rustdoc-ui/run-directory.rs b/src/test/rustdoc-ui/run-directory.rs index 78431c0e80b..0d432c1e699 100644 --- a/src/test/rustdoc-ui/run-directory.rs +++ b/src/test/rustdoc-ui/run-directory.rs @@ -2,8 +2,8 @@ // revisions: correct incorrect // check-pass -// [correct]compile-flags:--test --test-run-directory={{src-base}} -// [incorrect]compile-flags:--test --test-run-directory={{src-base}}/coverage +// [correct]compile-flags:--test --test-run-directory={{src-base}} -Zunstable-options +// [incorrect]compile-flags:--test --test-run-directory={{src-base}}/coverage -Zunstable-options // normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" |
