Skip to content

Commit 6dc9934

Browse files
committed
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 #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.
1 parent 65f0b25 commit 6dc9934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc-ui/deprecated-attrs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// check-pass
22

3-
#![doc(no_default_passes, passes = "collapse-docs unindent-comments")]
3+
#![doc(no_default_passes, passes = "unindent-comments")]
44

55
struct SomeStruct;
66

0 commit comments

Comments
 (0)