Skip to content

Commit c74ea1b

Browse files
committed
Auto merge of #7641 - ehuss:fix-nightly-rustdoc-bad-link, r=Eh2406
Update tests for slight wording change in rustdoc error message. Minor wording change in rustdoc error message from rust-lang/rust#66675.
2 parents 14654f3 + 2ad6b54 commit c74ea1b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/testsuite/doc.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ fn doc_cap_lints() {
13151315
p.cargo("doc -vv")
13161316
.with_stderr_contains(
13171317
"\
1318-
[WARNING] `[bad_link]` cannot be resolved, ignoring it...
1318+
[WARNING] `[bad_link]` cannot be resolved[..]
13191319
",
13201320
)
13211321
.run();
@@ -1360,9 +1360,7 @@ fn short_message_format() {
13601360
let p = project().file("src/lib.rs", BAD_INTRA_LINK_LIB).build();
13611361
p.cargo("doc --message-format=short")
13621362
.with_status(101)
1363-
.with_stderr_contains(
1364-
"src/lib.rs:4:6: error: `[bad_link]` cannot be resolved, ignoring it...",
1365-
)
1363+
.with_stderr_contains("src/lib.rs:4:6: error: `[bad_link]` cannot be resolved[..]")
13661364
.run();
13671365
}
13681366

0 commit comments

Comments
 (0)