RFC 2373: Update tests for rustdoc for lint_reasons

This commit is contained in:
xFrednet 2024-02-11 11:49:17 +01:00
parent e3a2c9887c
commit d9e32a69a7
No known key found for this signature in database
GPG key ID: F5C59D0E669E5302

View file

@ -1,5 +1,5 @@
warning: this lint expectation is unfulfilled warning: this lint expectation is unfulfilled
--> $DIR/expect-tool-lint-rfc-2383.rs:16:11 --> $DIR/expect-tool-lint-rfc-2383.rs:15:11
| |
LL | #![expect(rustdoc::missing_crate_level_docs)] LL | #![expect(rustdoc::missing_crate_level_docs)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -7,19 +7,19 @@ LL | #![expect(rustdoc::missing_crate_level_docs)]
= note: `#[warn(unfulfilled_lint_expectations)]` on by default = note: `#[warn(unfulfilled_lint_expectations)]` on by default
warning: this lint expectation is unfulfilled warning: this lint expectation is unfulfilled
--> $DIR/expect-tool-lint-rfc-2383.rs:70:14 --> $DIR/expect-tool-lint-rfc-2383.rs:69:14
| |
LL | #[expect(rustdoc::broken_intra_doc_links)] LL | #[expect(rustdoc::broken_intra_doc_links)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: this lint expectation is unfulfilled warning: this lint expectation is unfulfilled
--> $DIR/expect-tool-lint-rfc-2383.rs:75:14 --> $DIR/expect-tool-lint-rfc-2383.rs:74:14
| |
LL | #[expect(rustdoc::invalid_html_tags)] LL | #[expect(rustdoc::invalid_html_tags)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: this lint expectation is unfulfilled warning: this lint expectation is unfulfilled
--> $DIR/expect-tool-lint-rfc-2383.rs:80:14 --> $DIR/expect-tool-lint-rfc-2383.rs:79:14
| |
LL | #[expect(rustdoc::bare_urls)] LL | #[expect(rustdoc::bare_urls)]
| ^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^