Skip to content

Commit

Permalink
feat: make prelude error type public (#669)
Browse files Browse the repository at this point in the history
to allow angle extension to be moved out
  • Loading branch information
ss2165 authored Nov 9, 2023
1 parent ef8f4d3 commit d0499ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extension/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ pub fn new_array_op(element_ty: Type, size: u64) -> LeafOp {
.into()
}

pub(crate) const ERROR_TYPE: Type = Type::new_extension(CustomType::new_simple(
/// Unspecified opaque error type.
pub const ERROR_TYPE: Type = Type::new_extension(CustomType::new_simple(
smol_str::SmolStr::new_inline("error"),
PRELUDE_ID,
TypeBound::Eq,
Expand Down

0 comments on commit d0499ad

Please sign in to comment.