diff --git a/ast/src/mod.rs b/ast/src/mod.rs deleted file mode 100644 index f9d51e4b1f..0000000000 --- a/ast/src/mod.rs +++ /dev/null @@ -1,14 +0,0 @@ -pub mod ast; -pub mod constrain; -pub mod lang; -mod module; -pub mod parse; -mod pattern; -pub mod pool; -pub mod roc_file; -mod scope; -pub mod solve; -mod types; -mod rigids; -mod canonicalize; -pub mod ast_error; \ No newline at end of file diff --git a/ast/src/parse/mod.rs b/ast/src/parse/mod.rs index f14f61f5a0..31bf78fd5e 100644 --- a/ast/src/parse/mod.rs +++ b/ast/src/parse/mod.rs @@ -1,3 +1,2 @@ pub mod parse_ast; -pub mod parse_expr; pub mod parse_header; diff --git a/ast/src/parse/parse_expr.rs b/ast/src/parse/parse_expr.rs deleted file mode 100644 index 8b13789179..0000000000 --- a/ast/src/parse/parse_expr.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/code_markup/src/markup/nodes.rs b/code_markup/src/markup/nodes.rs index ff8907be30..cea08f288b 100644 --- a/code_markup/src/markup/nodes.rs +++ b/code_markup/src/markup/nodes.rs @@ -11,33 +11,7 @@ use crate::{ use super::{ attribute::Attributes, common_nodes::new_blank_mn_w_nls, top_level_def::tld_mark_node, }; -/*use crate::editor::ed_error::EdResult; -use crate::editor::ed_error::ExpectedTextNode; -use crate::editor::ed_error::{NestedNodeMissingChild, NestedNodeRequired}; -use crate::editor::markup::common_nodes::new_blank_mn; -use crate::editor::markup::common_nodes::new_blank_mn_w_nls; -use crate::editor::markup::common_nodes::new_colon_mn; -use crate::editor::markup::common_nodes::new_comma_mn; -use crate::editor::markup::common_nodes::new_equals_mn; -use crate::editor::markup::common_nodes::new_left_accolade_mn; -use crate::editor::markup::common_nodes::new_left_square_mn; -use crate::editor::markup::common_nodes::new_right_accolade_mn; -use crate::editor::markup::common_nodes::new_right_square_mn; -use crate::editor::mvc::tld_value_update::tld_mark_node; -use crate::editor::slow_pool::MarkNodeId; -use crate::editor::slow_pool::SlowPool; -use crate::editor::syntax_highlight::HighlightStyle; -use crate::editor::util::index_of; -use crate::lang::ast::Def2; -use crate::lang::ast::DefId; -use crate::lang::ast::ExprId; -use crate::lang::ast::RecordField; -use crate::lang::ast::ValueDef; -use crate::lang::parse::ASTNodeId; -use crate::lang::parse::{AppHeader, AST}; -use crate::lang::pattern::get_identifier_string; -use crate::lang::{ast::Expr2, expr::Env, pool::PoolStr}; -use crate::ui::util::slice_get;*/ + use crate::markup_error::{ExpectedTextNode, NestedNodeMissingChild, NestedNodeRequired}; use bumpalo::Bump; use roc_ast::{