You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if literal.chars().all(|ch| matches!(ch,'0'..='7')){
15
15
parse_int_from_radix!(
16
16
location,
@@ -21,6 +21,6 @@ pub fn to_oct_value(
21
21
.chars()
22
22
.find(|ch| matches!(ch,'0'..='7'))
23
23
.expect("Exists according to line above");
24
-
ParseResult::from(to_error!(location,"{ERR_PREFIX}a octal constant must only contain digits between '0' and '7'. Found invalid character '{first}'."))
24
+
OverParseRes::from(to_error!(location,"{ERR_PREFIX}a octal constant must only contain digits between '0' and '7'. Found invalid character '{first}'."))
0 commit comments