File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 11warning: 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 |
44LL | #![expect(rustdoc::missing_crate_level_docs)]
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
77 = note: `#[warn(unfulfilled_lint_expectations)]` on by default
88
99warning: 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 |
1212LL | #[expect(rustdoc::broken_intra_doc_links)]
1313 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1414
1515warning: 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 |
1818LL | #[expect(rustdoc::invalid_html_tags)]
1919 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
2020
2121warning: 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 |
2424LL | #[expect(rustdoc::bare_urls)]
2525 | ^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments