From 6dc99346413292f85cfe572f3ced29242c36e8e7 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Sun, 28 Feb 2021 21:59:43 -0500 Subject: [PATCH] Remove deleted pass from rustdoc test suite `src/test/rustdoc-ui/deprecated-attrs.rs` tells rustdoc to run the `collapse-docs` pass, which no longer exists (it was removed in https://github.com/rust-lang/rust/pull/80261). Rustdoc doesn't actually give a proper diagnostic here; instead it prints an `error!` log. Now that tracing is compiled unconditionally, the log is now being emitted by default, because it's at the error level. rustdoc shouldn't be using `error!` logging for diagnostics in the first place, but in the meantime this change gets the testsuite to pass. --- src/test/rustdoc-ui/deprecated-attrs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc-ui/deprecated-attrs.rs b/src/test/rustdoc-ui/deprecated-attrs.rs index 0d5dfa733fab6..ca626afbe5359 100644 --- a/src/test/rustdoc-ui/deprecated-attrs.rs +++ b/src/test/rustdoc-ui/deprecated-attrs.rs @@ -1,6 +1,6 @@ // check-pass -#![doc(no_default_passes, passes = "collapse-docs unindent-comments")] +#![doc(no_default_passes, passes = "unindent-comments")] struct SomeStruct;