Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
pattern
/
pattern-bad-ref-box-order.stderr
blob: 6f47f704688baf58c41c28c69cd1a98161e945a6 [
file
] [
log
] [
blame
]
error
:
switch
the order of
`ref`
and
`box`
-->
$DIR
/
pattern
-
bad
-
ref
-
box
-
order
.
rs
:
8
:
14
|
LL
|
Some
(
ref
box _i
)
=>
{},
|
^^^^^^^
|
help
:
swap them
|
LL
-
Some
(
ref
box _i
)
=>
{},
LL
+
Some
(
box
ref
_i
)
=>
{},
|
error
:
aborting due to
1
previous error