aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/program.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/program.ml')
-rw-r--r--pretyping/program.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/program.ml b/pretyping/program.ml
index 62aedcfbf..4b6137b53 100644
--- a/pretyping/program.ml
+++ b/pretyping/program.ml
@@ -19,7 +19,7 @@ let find_reference locstr dir s =
let sp = Libnames.make_path dp (Id.of_string s) in
try Nametab.global_of_path sp
with Not_found ->
- user_err_loc (Loc.ghost, "", str "Library " ++ Libnames.pr_dirpath dp ++
+ user_err (str "Library " ++ Libnames.pr_dirpath dp ++
str " has to be required first.")
let coq_reference locstr dir s = find_reference locstr ("Coq"::dir) s