diff --git a/crates/nu-parser/src/parser.rs b/crates/nu-parser/src/parser.rs index 5c03e08ddb..f4fd1348fd 100644 --- a/crates/nu-parser/src/parser.rs +++ b/crates/nu-parser/src/parser.rs @@ -610,7 +610,7 @@ pub fn parse_call( return ( garbage(Span::new(0, 0)), Some(ParseError::UnknownState( - "internal error: incomplete statement".into(), + "Incomplete statement".into(), span(spans), )), );