diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2023-12-27 18:19:12 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2023-12-27 18:19:12 +0000 |
commit | da1774ea591a7c0bc241e4d0c16649a1cf485c13 (patch) | |
tree | 43c4744453a2170e78a9d943b4608cf8103fb77d /src/bin/subplot.rs | |
parent | 439bbfe88e971bfa5f07a1faec8ff4a48bbeeb86 (diff) | |
download | subplot-da1774ea591a7c0bc241e4d0c16649a1cf485c13.tar.gz |
bindings: Add warnings for missing capture names or missing capture types
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'src/bin/subplot.rs')
-rw-r--r-- | src/bin/subplot.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/subplot.rs b/src/bin/subplot.rs index fd9500d..018ae5b 100644 --- a/src/bin/subplot.rs +++ b/src/bin/subplot.rs @@ -493,6 +493,7 @@ fn load_linted_doc( let template = template.to_string(); trace!("Template: {:#?}", template); let mut warnings = Warnings::default(); + doc.check_bindings(&mut warnings)?; doc.check_named_code_blocks_have_appropriate_class(&mut warnings)?; doc.check_named_files_exist(&template, &mut warnings)?; doc.check_matched_steps_have_impl(&template, &mut warnings); |