File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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]
237237Is rev mod use: false
238238-/
239239#guard_msgs in #eval showExtraModUses
You can’t perform that action at this time.
0 commit comments