Skip to content

Commit e6834d6

Browse files
committed
Fixed .stderr
1 parent 9ee67a5 commit e6834d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/ui/suggestions/parenthesized-deref-suggestion.stderr

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ LL | (sess as *const Session).opts;
66
|
77
help: the value is a raw pointer; try dereferencing it
88
|
9-
LL - (sess as *const Session).opts;
10-
LL + (*sess as *const Session).opts;
11-
|
9+
LL | (*(sess as *const Session)).opts;
10+
| ++ +
1211

1312
error[E0609]: no field `0` on type `[u32; 1]`
1413
--> $DIR/parenthesized-deref-suggestion.rs:10:21

0 commit comments

Comments
 (0)