summaryrefslogtreecommitdiff
path: root/dhall/src/semantics
diff options
context:
space:
mode:
authorNadrieril2019-12-20 19:01:07 +0000
committerNadrieril2019-12-20 19:01:07 +0000
commit980e50f33a88559edcf8b12cdec91fd9bee84ca9 (patch)
treef0d5dde2a58e354ad284bd102ca7adf03a941996 /dhall/src/semantics
parent3999e40e06b6282c10cd57c962b6316c374fc041 (diff)
s/RawExpr/UnspannedExpr/
Diffstat (limited to 'dhall/src/semantics')
-rw-r--r--dhall/src/semantics/phase/typecheck.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/dhall/src/semantics/phase/typecheck.rs b/dhall/src/semantics/phase/typecheck.rs
index f83bb94..cf928d8 100644
--- a/dhall/src/semantics/phase/typecheck.rs
+++ b/dhall/src/semantics/phase/typecheck.rs
@@ -10,8 +10,8 @@ use crate::semantics::phase::normalize::merge_maps;
use crate::semantics::phase::Normalized;
use crate::syntax;
use crate::syntax::{
- Builtin, Const, Expr, ExprKind, InterpolatedTextContents, Label, RawExpr,
- Span,
+ Builtin, Const, Expr, ExprKind, InterpolatedTextContents, Label, Span,
+ UnspannedExpr,
};
fn tck_pi_type(
@@ -144,7 +144,7 @@ pub(crate) fn const_to_value(c: Const) -> Value {
}
}
-pub fn rc<E>(x: RawExpr<E>) -> Expr<E> {
+pub fn rc<E>(x: UnspannedExpr<E>) -> Expr<E> {
Expr::new(x, Span::Artificial)
}