mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
RFC 2373: Update tests for rustdoc for lint_reasons
This commit is contained in:
parent
e3a2c9887c
commit
d9e32a69a7
@ -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)]
|
||||||
| ^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^
|
||||||
|
Loading…
Reference in New Issue
Block a user