summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/src/meta/reference.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs
index 1d8bd118..5a295e33 100644
--- a/library/src/meta/reference.rs
+++ b/library/src/meta/reference.rs
@@ -180,7 +180,7 @@ impl Show for RefElem {
let numbering = refable
.numbering()
.ok_or_else(|| {
- eco_format!("cannot reference {} without numbering", elem.func().name())
+ eco_format!("cannot reference {0} without numbering - did you mean to use `#set {0}(numbering: \"1.\")`?", elem.func().name())
})
.at(span)?;