Skip to content

Commit 846efe3

Browse files
committed
Unused variable
1 parent ae39f1c commit 846efe3

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
@@ -479,8 +479,8 @@ private def hasRecursiveType (x : Expr) : MetaM Bool := do
479479
eliminates this alternative.
480480
-/
481481
def processInaccessibleAsCtor (alt : Alt) (ctorName : Name) : MetaM Alt := do
482-
let p@(.inaccessible e) :: ps := alt.patterns | unreachable!
483-
trace[Meta.Match.match] "inaccessible in ctor step {e}"
482+
let .inaccessible e :: ps := alt.patterns | unreachable!
483+
trace[Meta.Match.match] "inaccessible step {e} as ctor {ctorName}"
484484
withExistingLocalDecls alt.fvarDecls do
485485
-- Try to push inaccessible annotations.
486486
let e ← whnfD e

0 commit comments

Comments
 (0)