@@ -26,13 +26,32 @@ LL | #[expect(unused_mut, reason = "this expectation will create a diagnosti
26
26
= note: this expectation will create a diagnostic with the default lint level
27
27
28
28
warning: this lint expectation is unfulfilled
29
- --> $DIR/expect_unfulfilled_expectation.rs:24:22
29
+ --> $DIR/expect_unfulfilled_expectation.rs:17:14
30
+ |
31
+ LL | #[expect(unused_mut, reason = "this expectation will create a diagnostic with the default lint level")]
32
+ | ^^^^^^^^^^
33
+ |
34
+ = note: this expectation will create a diagnostic with the default lint level
35
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
36
+
37
+ warning: this lint expectation is unfulfilled
38
+ --> $DIR/expect_unfulfilled_expectation.rs:27:22
39
+ |
40
+ LL | #[expect(unused, unfulfilled_lint_expectations, reason = "the expectation for `unused` should be fulfilled")]
41
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
+ |
43
+ = note: the expectation for `unused` should be fulfilled
44
+ = note: the `unfulfilled_lint_expectations` lint can't be expected and will always produce this message
45
+
46
+ warning: this lint expectation is unfulfilled
47
+ --> $DIR/expect_unfulfilled_expectation.rs:27:22
30
48
|
31
49
LL | #[expect(unused, unfulfilled_lint_expectations, reason = "the expectation for `unused` should be fulfilled")]
32
50
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33
51
|
34
52
= note: the expectation for `unused` should be fulfilled
35
53
= note: the `unfulfilled_lint_expectations` lint can't be expected and will always produce this message
54
+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
36
55
37
- warning: 4 warnings emitted
56
+ warning: 6 warnings emitted
38
57
0 commit comments