Skip to content

Commit eacf91c

Browse files
committed
fix
1 parent 7ca84ef commit eacf91c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Lean/Elab/ErrorExplanation.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ open Command in
103103
| `(registerErrorExplanationStx| $docStx:docComment register_error_explanation%$cmd $id:ident $t:term) => withRef cmd do
104104
unless (← getEnv).contains ``ErrorExplanation.Metadata do
105105
throwError "To use this command, add `import Lean.ErrorExplanation` to the header of this file"
106-
withoutExporting <| recordExtraModUseFromDecl ``ErrorExplanation.Metadata (isMeta := true)
106+
recordExtraModUseFromDecl ``ErrorExplanation.Metadata (isMeta := true)
107107
let tp := mkConst ``ErrorExplanation.Metadata
108108
let metadata ← runTermElabM <| fun _ => unsafe do
109109
let e ← elabTermEnsuringType t tp

tests/lean/run/extraModUses.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ register_error_explanation lean.never {
233233
}
234234

235235
/--
236-
info: Entries: [import Lean.ErrorExplanation]
236+
info: Entries: [meta import Lean.ErrorExplanation]
237237
Is rev mod use: false
238238
-/
239239
#guard_msgs in #eval showExtraModUses

0 commit comments

Comments
 (0)