You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/lint/dead-code/drop-only-field-issue-81658.stderr
+4-4
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@ error: field is never read: `guard`
2
2
--> $DIR/drop-only-field-issue-81658.rs:15:5
3
3
|
4
4
LL | guard: MutexGuard<'a, T>,
5
-
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guard`
5
+
| -----^^^^^^^^^^^^^^^^^^^
6
+
| |
7
+
| help: if this is intentional, prefix it with an underscore: `_guard`
6
8
|
7
-
= note: the leading underscore signals that this field serves some other purpose
8
-
even if it isn't used in a way that we can detect. (e.g. for its effect
9
-
when dropped or in foreign code)
9
+
= note: the leading underscore signals that this field serves some other purpose even if it isn't used in a way that we can detect. (e.g. for its effect when dropped or in foreign code)
Copy file name to clipboardExpand all lines: src/test/ui/lint/dead-code/field-used-in-ffi-issue-81658.stderr
+4-4
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@ error: field is never read: `items`
2
2
--> $DIR/field-used-in-ffi-issue-81658.rs:13:5
3
3
|
4
4
LL | items: Option<Vec<T>>,
5
-
| ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
5
+
| -----^^^^^^^^^^^^^^^^
6
+
| |
7
+
| help: if this is intentional, prefix it with an underscore: `_items`
6
8
|
7
-
= note: the leading underscore signals that this field serves some other purpose
8
-
even if it isn't used in a way that we can detect. (e.g. for its effect
9
-
when dropped or in foreign code)
9
+
= note: the leading underscore signals that this field serves some other purpose even if it isn't used in a way that we can detect. (e.g. for its effect when dropped or in foreign code)
0 commit comments