diff --git a/compiler/cl-parser/src/inliner.rs b/compiler/cl-parser/src/inliner.rs index a4ba70b..73602fb 100644 --- a/compiler/cl-parser/src/inliner.rs +++ b/compiler/cl-parser/src/inliner.rs @@ -5,8 +5,8 @@ use cl_ast::{ast_visitor::Fold, *}; use cl_lexer::Lexer; use std::path::{Path, PathBuf}; -type IoErrs = Vec<(PathBuf, std::io::Error)>; -type ParseErrs = Vec<(PathBuf, crate::error::Error)>; +pub type IoErrs = Vec<(PathBuf, std::io::Error)>; +pub type ParseErrs = Vec<(PathBuf, crate::error::Error)>; pub struct ModuleInliner { path: PathBuf, diff --git a/compiler/cl-typeck/src/def_item.rs b/compiler/cl-typeck/src/def_item.rs index ad6bcbf..f26ba56 100644 --- a/compiler/cl-typeck/src/def_item.rs +++ b/compiler/cl-typeck/src/def_item.rs @@ -4,7 +4,7 @@ //! //! [DefItem]s are collected by the [Definition Sorcerer](sorcerer), //! an AST visitor that pairs [DefSource]s with their surrounding -//! context ([Path], [Span], [Meta], [Visibility]) +//! context ([Path], [struct@Span], [Meta], [Visibility]) use cl_ast::ast::*; use cl_structures::span::Span;