Re-export shulkerbox module and update error message in transpiler

This commit is contained in:
Moritz Hölting 2024-04-06 14:42:44 +02:00
parent 3c3c9e5b24
commit c770a54517
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@
#![warn(missing_docs, clippy::all, clippy::pedantic)] #![warn(missing_docs, clippy::all, clippy::pedantic)]
#![allow(clippy::missing_panics_doc, clippy::missing_const_for_fn)] #![allow(clippy::missing_panics_doc, clippy::missing_const_for_fn)]
pub use shulkerbox;
pub mod base; pub mod base;
pub mod lexical; pub mod lexical;
pub mod syntax; pub mod syntax;

View File

@ -52,7 +52,7 @@ impl Transpiler {
/// Transpiles the given program. /// Transpiles the given program.
/// ///
/// # Errors /// # Errors
/// - [`TranspileError::MissingMainFunction`] If the main function is missing. /// - [`TranspileError::MissingFunctionDeclaration`] If a called function is missing
pub fn transpile( pub fn transpile(
&mut self, &mut self,
program: &Program, program: &Program,