fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: this lint expectation is unfulfilled 2 --> $DIR/expect_unfulfilled_expectation.rs:7:11 3 | 4LL | #![expect(unfulfilled_lint_expectations, reason = "idk why you would expect this")] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: idk why you would expect this 8 = note: the `unfulfilled_lint_expectations` lint can't be expected and will always produce this message 9 = note: `#[warn(unfulfilled_lint_expectations)]` on by default 10 11warning: this lint expectation is unfulfilled 12 --> $DIR/expect_unfulfilled_expectation.rs:13:10 13 | 14LL | #[expect(unfulfilled_lint_expectations, reason = "a local: idk why you would expect this")] 15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 16 | 17 = note: a local: idk why you would expect this 18 = note: the `unfulfilled_lint_expectations` lint can't be expected and will always produce this message 19 20warning: this lint expectation is unfulfilled 21 --> $DIR/expect_unfulfilled_expectation.rs:18:14 22 | 23LL | #[expect(unused_mut, reason = "this expectation will create a diagnostic with the default lint level")] 24 | ^^^^^^^^^^ 25 | 26 = note: this expectation will create a diagnostic with the default lint level 27 28warning: this lint expectation is unfulfilled 29 --> $DIR/expect_unfulfilled_expectation.rs:25:22 30 | 31LL | #[expect(unused, unfulfilled_lint_expectations, reason = "the expectation for `unused` should be fulfilled")] 32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 33 | 34 = note: the expectation for `unused` should be fulfilled 35 = note: the `unfulfilled_lint_expectations` lint can't be expected and will always produce this message 36 37warning: 4 warnings emitted 38