-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
$ cargo run programs/tokens.chef
warning: use of deprecated associated function `std::array::IntoIter::<T, N>::new`: use `IntoIterator::into_iter` instead
--> src/parser.rs:655:31
|
655 | let kinds = IntoIter::new(kinds);
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: `rchef` (lib) generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Running `target/debug/rchef programs/tokens.chef`
[line 28] syntax error: expected FULLSTOP, found INTO
[line 29] syntax error: expected FULLSTOP, found INTO
[line 59] syntax error: expected IDENTIFIER, found SERVES
[line 59] syntax error: expected IDENTIFIER, found NUMBER
[line 59] syntax error: expected IDENTIFIER, found FULLSTOP
parse error
It seems that Add method with INTO is not valid for rchef parser like line 28 or 29.
After replacing into with to, the parser raises [line 71] syntax error: expected IDENTIFIER, found NEWLINE.
Metadata
Metadata
Assignees
Labels
No labels