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