Skip to content

Commit 2852381

Browse files
committed
Stabilize lint_reasons in rustdoc (RFC 2383)
1 parent e0d31a8 commit 2852381

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/test/rustdoc-ui/expect-tool-lint-rfc-2383.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// check-pass
2-
#![feature(lint_reasons)]
32

43
//! This file tests the `#[expect]` attribute implementation for tool lints. The same
54
//! file is used to test clippy and rustdoc. Any changes to this file should be synced

src/test/rustdoc-ui/expect-tool-lint-rfc-2383.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
warning: this lint expectation is unfulfilled
2-
--> $DIR/expect-tool-lint-rfc-2383.rs:16:11
2+
--> $DIR/expect-tool-lint-rfc-2383.rs:15:11
33
|
44
LL | #![expect(rustdoc::missing_crate_level_docs)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= note: `#[warn(unfulfilled_lint_expectations)]` on by default
88

99
warning: this lint expectation is unfulfilled
10-
--> $DIR/expect-tool-lint-rfc-2383.rs:71:14
10+
--> $DIR/expect-tool-lint-rfc-2383.rs:70:14
1111
|
1212
LL | #[expect(rustdoc::broken_intra_doc_links)]
1313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1414

1515
warning: this lint expectation is unfulfilled
16-
--> $DIR/expect-tool-lint-rfc-2383.rs:76:14
16+
--> $DIR/expect-tool-lint-rfc-2383.rs:75:14
1717
|
1818
LL | #[expect(rustdoc::invalid_html_tags)]
1919
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
2020

2121
warning: this lint expectation is unfulfilled
22-
--> $DIR/expect-tool-lint-rfc-2383.rs:81:14
22+
--> $DIR/expect-tool-lint-rfc-2383.rs:80:14
2323
|
2424
LL | #[expect(rustdoc::bare_urls)]
2525
| ^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)