Skip to content

Commit 3d71ca1

Browse files
committed
Unused variable
1 parent f6ae6ae commit 3d71ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Lean/Meta/Match/Match.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,8 @@ private def hasRecursiveType (x : Expr) : MetaM Bool := do
501501
eliminates this alternative.
502502
-/
503503
def processInaccessibleAsCtor (alt : Alt) (ctorName : Name) : MetaM Alt := do
504-
let p@(.inaccessible e) :: ps := alt.patterns | unreachable!
505-
trace[Meta.Match.match] "inaccessible in ctor step {e}"
504+
let .inaccessible e :: ps := alt.patterns | unreachable!
505+
trace[Meta.Match.match] "inaccessible step {e} as ctor {ctorName}"
506506
withExistingLocalDecls alt.fvarDecls do
507507
-- Try to push inaccessible annotations.
508508
let e ← whnfD e

0 commit comments

Comments
 (0)