]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/rfc-2383-lint-reason/expect_with_reason.stderr
Add UI tests for the `expect` attribute (RFC-2383)
[rust.git] / src / test / ui / lint / rfc-2383-lint-reason / expect_with_reason.stderr
1 warning: this lint expectation is unfulfilled
2   --> $DIR/expect_with_reason.rs:6:1
3    |
4 LL | #![expect(unused_variables, reason = "<This should fail and display this reason>")]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `#[warn(unfulfilled_lint_expectations)]` on by default
8    = note: <This should fail and display this reason>
9
10 warning: 1 warning emitted
11