[INFO] cloning repository https://github.com/lctr/Ryg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lctr/Ryg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flctr%2FRyg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flctr%2FRyg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84bbd45598f8830f743ae2b59084094f9fc8dd9f [INFO] checking lctr/Ryg against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flctr%2FRyg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lctr/Ryg on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lctr/Ryg [INFO] finished tweaking git repo https://github.com/lctr/Ryg [INFO] tweaked toml for git repo https://github.com/lctr/Ryg written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lctr/Ryg already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0425ff0941b7d63dde5f00c37a904e9682d553c3f1d3e4d4dc3a0b417d4536ce [INFO] running `Command { std: "docker" "start" "-a" "0425ff0941b7d63dde5f00c37a904e9682d553c3f1d3e4d4dc3a0b417d4536ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0425ff0941b7d63dde5f00c37a904e9682d553c3f1d3e4d4dc3a0b417d4536ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0425ff0941b7d63dde5f00c37a904e9682d553c3f1d3e4d4dc3a0b417d4536ce", kill_on_drop: false }` [INFO] [stdout] 0425ff0941b7d63dde5f00c37a904e9682d553c3f1d3e4d4dc3a0b417d4536ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6450864dbb660387bbbb75207e77aa5152bb6494df4b863322e26f17a40c72 [INFO] running `Command { std: "docker" "start" "-a" "2e6450864dbb660387bbbb75207e77aa5152bb6494df4b863322e26f17a40c72", kill_on_drop: false }` [INFO] [stderr] Checking ryg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `syntax` [INFO] [stdout] --> src/parsing/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `syntax`, create file "src/parsing/syntax.rs" or "src/parsing/syntax/mod.rs" [INFO] [stdout] = note: if there is a `mod syntax` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `reparse` [INFO] [stdout] --> src/parsing/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod reparse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `reparse`, create file "src/parsing/reparse.rs" or "src/parsing/reparse/mod.rs" [INFO] [stdout] = note: if there is a `mod reparse` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `syntax` [INFO] [stdout] --> src/parsing/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `syntax`, create file "src/parsing/syntax.rs" or "src/parsing/syntax/mod.rs" [INFO] [stdout] = note: if there is a `mod syntax` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `reparse` [INFO] [stdout] --> src/parsing/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod reparse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `reparse`, create file "src/parsing/reparse.rs" or "src/parsing/reparse/mod.rs" [INFO] [stdout] = note: if there is a `mod reparse` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::morpheme` [INFO] [stdout] --> src/parsing/expression.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::morpheme::Morpheme; [INFO] [stdout] | ^^^^^^^^ could not find `morpheme` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::color` [INFO] [stdout] --> src/tok/token.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{color, quick_match}; [INFO] [stdout] | ^^^^^ no `color` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::Visit`, `crate::tok::lexer::ToLiteral` [INFO] [stdout] --> src/core/function.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | parsing::expression::{Binding, Expr, Morpheme, Parameter, Shape, Visit}, [INFO] [stdout] | ^^^^^ no `Visit` in `parsing::expression` [INFO] [stdout] 14 | tok::{lexer::ToLiteral, token::Token}, [INFO] [stdout] | ^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Literal` [INFO] [stdout] | no `ToLiteral` in `tok::lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::DataDef`, `crate::parsing::expression::DataVariant`, `crate::parsing::expression::Visit` [INFO] [stdout] --> src/core/rygtype.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | Binding, DataDef, DataVariant, Expr, Morpheme, Parameter, Program, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] | | [INFO] [stdout] | no `DataDef` in `parsing::expression` [INFO] [stdout] 12 | Shape, VariantArg, Visit, [INFO] [stdout] | ^^^^^ no `Visit` in `parsing::expression` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::core::function::test::Visit` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::DataDef`, `crate::parsing::expression::DataVariant` [INFO] [stdout] --> src/core/variant.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::expression::{DataDef, DataVariant, Definition}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] | | [INFO] [stdout] | no `DataDef` in `parsing::expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::parsing::expression::DataVariant` [INFO] [stdout] --> src/evaluating/evaluator.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | Binding, DataVariant, Definition, Expr, Morpheme, Parameter, Program, [INFO] [stdout] | ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::core::function::ArgList` [INFO] [stdout] --> src/parsing/expression.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | core::{function::ArgList, rygtype::Field}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `ArgList` in `core::function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::DataVariant`, `crate::tok::lexer::ToLiteral` [INFO] [stdout] --> src/parsing/parser.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | Binding, DataVariant, Definition, Program, VariantArg, [INFO] [stdout] | ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] ... [INFO] [stdout] 9 | lexer::{twin_of, Lexer, ToLiteral}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ToLiteral` in `tok::lexer` [INFO] [stdout] | help: a similar name exists in the module: `Literal` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::core::function::test::ToLiteral` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `Token::Empty` [INFO] [stdout] --> src/core/atom.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Token::Empty() => Atom::Nil, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use this syntax instead: `Token::Empty` [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- `Token::Empty` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::morpheme` [INFO] [stdout] --> src/parsing/expression.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub use super::morpheme::Morpheme; [INFO] [stdout] | ^^^^^^^^ could not find `morpheme` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `Token::Empty` [INFO] [stdout] --> src/core/rygtype.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | Token::Empty() => RygType::Unit, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use this syntax instead: `Token::Empty` [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- `Token::Empty` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `Token::Empty` [INFO] [stdout] --> src/core/rygtype.rs:578:27 [INFO] [stdout] | [INFO] [stdout] 578 | if matches!(name, Token::Empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use this syntax instead: `Token::Empty` [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- `Token::Empty` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::color` [INFO] [stdout] --> src/tok/token.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{color, quick_match}; [INFO] [stdout] | ^^^^^ no `color` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::Visit`, `crate::tok::lexer::ToLiteral` [INFO] [stdout] --> src/core/function.rs:13:70 [INFO] [stdout] | [INFO] [stdout] 13 | parsing::expression::{Binding, Expr, Morpheme, Parameter, Shape, Visit}, [INFO] [stdout] | ^^^^^ no `Visit` in `parsing::expression` [INFO] [stdout] 14 | tok::{lexer::ToLiteral, token::Token}, [INFO] [stdout] | ^^^^^^^--------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Literal` [INFO] [stdout] | no `ToLiteral` in `tok::lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::DataDef`, `crate::parsing::expression::DataVariant`, `crate::parsing::expression::Visit` [INFO] [stdout] --> src/core/rygtype.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | Binding, DataDef, DataVariant, Expr, Morpheme, Parameter, Program, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] | | [INFO] [stdout] | no `DataDef` in `parsing::expression` [INFO] [stdout] 12 | Shape, VariantArg, Visit, [INFO] [stdout] | ^^^^^ no `Visit` in `parsing::expression` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::core::function::test::Visit` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::DataDef`, `crate::parsing::expression::DataVariant` [INFO] [stdout] --> src/core/variant.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::parsing::expression::{DataDef, DataVariant, Definition}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] | | [INFO] [stdout] | no `DataDef` in `parsing::expression` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::evaluating::environment::test::rygtype::test::DataDef` exists but is inaccessible [INFO] [stdout] = note: unresolved item `crate::evaluating::environment::test::rygtype::test::DataVariant` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::parsing::expression::DataVariant` [INFO] [stdout] --> src/evaluating/evaluator.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | Binding, DataVariant, Definition, Expr, Morpheme, Parameter, Program, [INFO] [stdout] | ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::evaluating::environment::test::rygtype::test::DataVariant` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::core::function::ArgList` [INFO] [stdout] --> src/parsing/expression.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | core::{function::ArgList, rygtype::Field}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `ArgList` in `core::function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::parsing::expression::DataVariant`, `crate::tok::lexer::ToLiteral` [INFO] [stdout] --> src/parsing/parser.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | Binding, DataVariant, Definition, Program, VariantArg, [INFO] [stdout] | ^^^^^^^^^^^ no `DataVariant` in `parsing::expression` [INFO] [stdout] ... [INFO] [stdout] 9 | lexer::{twin_of, Lexer, ToLiteral}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ToLiteral` in `tok::lexer` [INFO] [stdout] | help: a similar name exists in the module: `Literal` [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::evaluating::evaluator::test::DataVariant` exists but is inaccessible [INFO] [stdout] = note: unresolved item `crate::core::function::test::ToLiteral` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `Token::Empty` [INFO] [stdout] --> src/core/atom.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | Token::Empty() => Atom::Nil, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use this syntax instead: `Token::Empty` [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- `Token::Empty` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `Token::Empty` [INFO] [stdout] --> src/core/rygtype.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | Token::Empty() => RygType::Unit, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use this syntax instead: `Token::Empty` [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- `Token::Empty` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found unit variant `Token::Empty` [INFO] [stdout] --> src/core/rygtype.rs:578:27 [INFO] [stdout] | [INFO] [stdout] 578 | if matches!(name, Token::Empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use this syntax instead: `Token::Empty` [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- `Token::Empty` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/atom.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | Token::Bool(b, _) => Atom::Bool(b == "true"), [INFO] [stdout] | - ^^^^^^ expected `bool`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/core/atom.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | nil if matches!(nil.literal().as_str(), "()" | "nil") => Atom::Nil, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/core/function.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | Expr::Lambda(name, pram, body) => Self::new( [INFO] [stdout] | ^^^^ ^^^^ ^^^^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `Parameter` [INFO] [stdout] --> src/core/function.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | .map(|p| p.clone().name.to_string()) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pattern`, `shape`, `kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/core/function.rs:395:37 [INFO] [stdout] | [INFO] [stdout] 395 | if let Expr::Lambda(_a, b, _c) = y { [INFO] [stdout] | ^^ ^ ^^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/atom.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | Token::Bool(b, _) => Atom::Bool(b == "true"), [INFO] [stdout] | - ^^^^^^ expected `bool`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/core/atom.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | nil if matches!(nil.literal().as_str(), "()" | "nil") => Atom::Nil, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/core/rygtype.rs:503:45 [INFO] [stdout] | [INFO] [stdout] 503 | .map(|tk| Field::new(tk.literal(), &RygType::from(tk))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/core/rygtype.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | name, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/core/function.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | Expr::Lambda(name, pram, body) => Self::new( [INFO] [stdout] | ^^^^ ^^^^ ^^^^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `Parameter` [INFO] [stdout] --> src/core/function.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | .map(|p| p.clone().name.to_string()) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pattern`, `shape`, `kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/core/rygtype.rs:612:19 [INFO] [stdout] | [INFO] [stdout] 612 | Expr::Nil => RygType::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/core/rygtype.rs:740:26 [INFO] [stdout] | [INFO] [stdout] 740 | Expr::Lambda(n, ps, b) => RygType::Lambda( [INFO] [stdout] | ^ ^^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/rygtype.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 617 | Expr::Binary(op, l, r) => match op.clone() { [INFO] [stdout] | ---------- this expression has type `BinOp` [INFO] [stdout] 618 | Token::Operator(o, ..) => match o.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `BinOp`, found `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/core/function.rs:395:37 [INFO] [stdout] | [INFO] [stdout] 395 | if let Expr::Lambda(_a, b, _c) = y { [INFO] [stdout] | ^^ ^ ^^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `visit` found for struct `Box` in the current scope [INFO] [stdout] --> src/core/rygtype.rs:677:35 [INFO] [stdout] | [INFO] [stdout] 677 | ... r.visit(&mut |t| s = t.literal()); [INFO] [stdout] | ^^^^^ method not found in `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `match_literal` found for enum `UnOp` in the current scope [INFO] [stdout] --> src/core/rygtype.rs:750:23 [INFO] [stdout] | [INFO] [stdout] 750 | if op.match_literal("!") { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ------------- the method is available for `UnOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `match_literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `match_literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/core/rygtype.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | n.0.literal(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `&Parameter` [INFO] [stdout] --> src/core/rygtype.rs:769:41 [INFO] [stdout] | [INFO] [stdout] 769 | Field::new(pram.name.literal(), &RygType::from(expr)) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pattern`, `shape`, `kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/core/record.rs:157:32 [INFO] [stdout] | [INFO] [stdout] 157 | let key_from_tok = tok.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 147 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/core/rygtype.rs:503:45 [INFO] [stdout] | [INFO] [stdout] 503 | .map(|tk| Field::new(tk.literal(), &RygType::from(tk))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/core/rygtype.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | name, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/core/rygtype.rs:612:19 [INFO] [stdout] | [INFO] [stdout] 612 | Expr::Nil => RygType::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/core/rygtype.rs:740:26 [INFO] [stdout] | [INFO] [stdout] 740 | Expr::Lambda(n, ps, b) => RygType::Lambda( [INFO] [stdout] | ^ ^^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/rygtype.rs:618:17 [INFO] [stdout] | [INFO] [stdout] 617 | Expr::Binary(op, l, r) => match op.clone() { [INFO] [stdout] | ---------- this expression has type `token::BinOp` [INFO] [stdout] 618 | Token::Operator(o, ..) => match o.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `BinOp`, found `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | Expr::Nil => Ok(NIL), [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/evaluating/evaluator.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | Expr::Lambda(n, p, b) => walk_lambda(n, p, b, &mut env), [INFO] [stdout] | ^ ^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | Expr::Assign(o, l, r) => walk_assign(o, l, r, &mut env), [INFO] [stdout] | ----------- ^ expected `Token`, found `AssignOp` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn walk_assign( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 301 | op: Token, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | Expr::Unary(o, r) => walk_unary(o, r, &mut env), [INFO] [stdout] | ---------- ^ expected `Token`, found `UnOp` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:1263:4 [INFO] [stdout] | [INFO] [stdout] 1263 | fn walk_unary(o: Token, r: Box, env: &mut Envr) -> Maybe { [INFO] [stdout] | ^^^^^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `visit` found for struct `Box` in the current scope [INFO] [stdout] --> src/core/rygtype.rs:677:35 [INFO] [stdout] | [INFO] [stdout] 677 | ... r.visit(&mut |t| s = t.literal()); [INFO] [stdout] | ^^^^^ method not found in `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | Expr::Binary(o, l, r) => walk_binary(o, l, r, &mut env), [INFO] [stdout] | ----------- ^ expected `Token`, found `BinOp` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:1157:4 [INFO] [stdout] | [INFO] [stdout] 1157 | fn walk_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1158 | op: Token, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | Expr::Block(is_do, p) => walk_block(is_do, p, &mut env), [INFO] [stdout] | ---------- ^^^^^ expected `bool`, found `Token` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:1064:4 [INFO] [stdout] | [INFO] [stdout] 1064 | fn walk_block( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1065 | is_do: bool, [INFO] [stdout] | ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | kind.map(|t| t.0.literal()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `match_literal` found for enum `token::UnOp` in the current scope [INFO] [stdout] --> src/core/rygtype.rs:750:23 [INFO] [stdout] | [INFO] [stdout] 750 | if op.match_literal("!") { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ------------- the method is available for `token::UnOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `match_literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `match_literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | let scope = env.lookup(&t.clone().literal()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/core/rygtype.rs:763:21 [INFO] [stdout] | [INFO] [stdout] 763 | n.0.literal(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `&Parameter` [INFO] [stdout] --> src/core/rygtype.rs:769:41 [INFO] [stdout] | [INFO] [stdout] 769 | Field::new(pram.name.literal(), &RygType::from(expr)) [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pattern`, `shape`, `kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let key = tok.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | walk(Expr::Block(true, vec![left, *right]), &mut env) [INFO] [stdout] | ----------- ^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:326:33 [INFO] [stdout] | [INFO] [stdout] 326 | let key = index.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for reference `&Token` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | env.set(&tok.literal(), obj.to_owned()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:353:34 [INFO] [stdout] | [INFO] [stdout] 353 | env.set(&tok.literal(), obj.to_owned()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:370:22 [INFO] [stdout] | [INFO] [stdout] 370 | match op.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | ... op.literal() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `Parameter` [INFO] [stdout] --> src/evaluating/evaluator.rs:463:31 [INFO] [stdout] | [INFO] [stdout] 463 | let id = pram.clone().name; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pattern`, `shape`, `kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | if matches!(&expr, &Expr::Nil) { [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:614:51 [INFO] [stdout] | [INFO] [stdout] 614 | } else if let Some(val) = record.get(&key.literal()) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | key.literal() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:717:31 [INFO] [stdout] | [INFO] [stdout] 717 | let key = tok.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/evaluating/evaluator.rs:1026:13 [INFO] [stdout] | [INFO] [stdout] 1026 | name, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:1139:36 [INFO] [stdout] | [INFO] [stdout] 1139 | name.clone().map(|tok| tok.literal()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for reference `&Token` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:1148:23 [INFO] [stdout] | [INFO] [stdout] 1148 | env.def(name_.literal(), Some(&lambda)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for reference `&Token` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:1150:27 [INFO] [stdout] | [INFO] [stdout] 1150 | ctx.def(name_.literal(), Some(&lambda)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:1163:14 [INFO] [stdout] | [INFO] [stdout] 1163 | match op.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | Expr::Nil => Ok(NIL), [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/evaluating/evaluator.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | Expr::Lambda(n, p, b) => walk_lambda(n, p, b, &mut env), [INFO] [stdout] | ^ ^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | Expr::Assign(o, l, r) => walk_assign(o, l, r, &mut env), [INFO] [stdout] | ----------- ^ expected `Token`, found `AssignOp` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn walk_assign( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 301 | op: Token, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | Expr::Unary(o, r) => walk_unary(o, r, &mut env), [INFO] [stdout] | ---------- ^ expected `Token`, found `UnOp` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:1263:4 [INFO] [stdout] | [INFO] [stdout] 1263 | fn walk_unary(o: Token, r: Box, env: &mut Envr) -> Maybe { [INFO] [stdout] | ^^^^^^^^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | Expr::Binary(o, l, r) => walk_binary(o, l, r, &mut env), [INFO] [stdout] | ----------- ^ expected `Token`, found `BinOp` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:1157:4 [INFO] [stdout] | [INFO] [stdout] 1157 | fn walk_binary( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1158 | op: Token, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | Expr::Block(is_do, p) => walk_block(is_do, p, &mut env), [INFO] [stdout] | ---------- ^^^^^ expected `bool`, found `Token` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/evaluating/evaluator.rs:1064:4 [INFO] [stdout] | [INFO] [stdout] 1064 | fn walk_block( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 1065 | is_do: bool, [INFO] [stdout] | ----------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | kind.map(|t| t.0.literal()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/interacting/repl.rs:168:58 [INFO] [stdout] | [INFO] [stdout] 168 | println!("token: {}", tokens.pop().unwrap_or(Token::Empty())) [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 168 - println!("token: {}", tokens.pop().unwrap_or(Token::Empty())) [INFO] [stdout] 168 + println!("token: {}", tokens.pop().unwrap_or(Token::Empty)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:160:43 [INFO] [stdout] | [INFO] [stdout] 160 | let scope = env.lookup(&t.clone().literal()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/interacting/repl.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | Expr::Literal(Token::Empty()) [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 226 - Expr::Literal(Token::Empty()) [INFO] [stdout] 226 + Expr::Literal(Token::Empty) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let key = tok.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | Expr::Nil => String::new(), [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/codegen.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 35 | match expr { [INFO] [stdout] | ---- this expression has type `expression::Expr` [INFO] [stdout] ... [INFO] [stdout] 51 | Expr::Assign(a, b, c) | Expr::Binary(a, b, c) => { [INFO] [stdout] | - ^ expected `AssignOp`, found `BinOp` [INFO] [stdout] | | [INFO] [stdout] | first introduced with type `AssignOp` here [INFO] [stdout] | [INFO] [stdout] = note: in the same arm, a binding must have the same type in all alternatives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/parsing/codegen.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | Expr::Lambda(a, b, c) => { [INFO] [stdout] | ^ ^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluating/evaluator.rs:248:30 [INFO] [stdout] | [INFO] [stdout] 248 | walk(Expr::Block(true, vec![left, *right]), &mut env) [INFO] [stdout] | ----------- ^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | format!("{}", body.first().unwrap_or(&Expr::Nil)) [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `AssignOp` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let op = a.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `AssignOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:326:33 [INFO] [stdout] | [INFO] [stdout] 326 | let key = index.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | let xpr = a.first().unwrap_or(&Expr::Nil); [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for reference `&token::Token` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:331:38 [INFO] [stdout] | [INFO] [stdout] 331 | env.set(&tok.literal(), obj.to_owned()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/codegen.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | if d { "do " } else { "" }, [INFO] [stdout] | ^ expected `bool`, found `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:353:34 [INFO] [stdout] | [INFO] [stdout] 353 | env.set(&tok.literal(), obj.to_owned()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:370:22 [INFO] [stdout] | [INFO] [stdout] 370 | match op.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/codegen.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | format!("({}.{}])", transcribe_expr(*a), b.literal()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:427:36 [INFO] [stdout] | [INFO] [stdout] 427 | ... op.literal() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `name` on type `Parameter` [INFO] [stdout] --> src/evaluating/evaluator.rs:463:31 [INFO] [stdout] | [INFO] [stdout] 463 | let id = pram.clone().name; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pattern`, `shape`, `kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | if matches!(&expr, &Expr::Nil) { [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/parsing/codegen.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | name: _, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/codegen.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | Expr::Literal(a) => a.literal(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `UnOp` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:188:52 [INFO] [stdout] | [INFO] [stdout] 188 | Expr::Unary(a, b) => format!("({}({}))", a.literal(), &*b), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `UnOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/parsing/codegen.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | ... name: _, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/parsing/codegen.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | ... name: _, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:614:51 [INFO] [stdout] | [INFO] [stdout] 614 | } else if let Some(val) = record.get(&key.literal()) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | key.literal() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:717:31 [INFO] [stdout] | [INFO] [stdout] 717 | let key = tok.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/evaluating/evaluator.rs:1026:13 [INFO] [stdout] | [INFO] [stdout] 1026 | name, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:1139:36 [INFO] [stdout] | [INFO] [stdout] 1139 | name.clone().map(|tok| tok.literal()), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for reference `&token::Token` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:1148:23 [INFO] [stdout] | [INFO] [stdout] 1148 | env.def(name_.literal(), Some(&lambda)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for reference `&token::Token` in the current scope [INFO] [stdout] --> src/evaluating/evaluator.rs:1150:27 [INFO] [stdout] | [INFO] [stdout] 1150 | ctx.def(name_.literal(), Some(&lambda)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/evaluating/evaluator.rs:1163:14 [INFO] [stdout] | [INFO] [stdout] 1163 | match op.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | Expr::Block(false, (&(self.0)).to_vec()) [INFO] [stdout] | ----------- ^^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | Expr::Block(true, (&(self.0)).to_vec()) [INFO] [stdout] | ----------- ^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/evaluating/evaluator.rs:1477:33 [INFO] [stdout] | [INFO] [stdout] 1477 | if let Expr::Lambda(a, b, c) = fst.to_owned() { [INFO] [stdout] | ^ ^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | self.peek().literal(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_operator` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | Expr::from_operator(&token)( [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `from_operator` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | Expr::Unary(token, Box::new(self.atom())) [INFO] [stdout] | ----------- ^^^^^ expected `UnOp`, found `Token` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | Unary(UnOp, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_operator` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:289:26 [INFO] [stdout] | [INFO] [stdout] 289 | left = Expr::from_operator(&token)( [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `from_operator` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | match token.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/parsing/parser.rs:379:40 [INFO] [stdout] | [INFO] [stdout] 377 | / match expr { [INFO] [stdout] 378 | | Expr::Literal(id) => Some(id), [INFO] [stdout] | | -------- this is found to be of type `Option` [INFO] [stdout] 379 | | Expr::Lambda(n, ..) => n, [INFO] [stdout] | | ^ expected `Option`, found `Vec` [INFO] [stdout] 380 | | Expr::Call(.., n) => n, [INFO] [stdout] 381 | | Expr::Member(_, n) => Some(n), [INFO] [stdout] 382 | | _ => None, [INFO] [stdout] 383 | | }, [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:424:38 [INFO] [stdout] | [INFO] [stdout] 424 | let expr = match self.peek().literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | Expr::Nil [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:432:26 [INFO] [stdout] | [INFO] [stdout] 432 | "," => Expr::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_right_punct` found for enum `Token` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:448:18 [INFO] [stdout] | [INFO] [stdout] 448 | if token.is_right_punct() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `is_right_punct` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_punct` with a similar name [INFO] [stdout] | [INFO] [stdout] 448 - if token.is_right_punct() { [INFO] [stdout] 448 + if token.as_punct() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_left_punct` found for enum `Token` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | } else if !token.is_left_punct() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `is_left_punct` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_punct` with a similar name [INFO] [stdout] | [INFO] [stdout] 450 - } else if !token.is_left_punct() { [INFO] [stdout] 450 + } else if !token.as_punct() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:471:32 [INFO] [stdout] | [INFO] [stdout] 471 | let prefix = token.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_left_punct` found for enum `Token` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:495:37 [INFO] [stdout] | [INFO] [stdout] 495 | let name = if token.clone().is_left_punct() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `is_left_punct` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_punct` with a similar name [INFO] [stdout] | [INFO] [stdout] 495 - let name = if token.clone().is_left_punct() { [INFO] [stdout] 495 + let name = if token.clone().as_punct() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/parsing/parser.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | Token::Empty() [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 496 - Token::Empty() [INFO] [stdout] 496 + Token::Empty [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Parameter` has no field named `name` [INFO] [stdout] --> src/parsing/parser.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | name: name.clone(), [INFO] [stdout] | ^^^^ `Parameter` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | Expr::Unary(op, Box::new(right)) [INFO] [stdout] | ----------- ^^ expected `UnOp`, found `Token` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | Unary(UnOp, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/parsing/parser.rs:561:30 [INFO] [stdout] | [INFO] [stdout] 561 | Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] | ^ ^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parsing/parser.rs:561:42 [INFO] [stdout] | [INFO] [stdout] 561 | Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] | ^^^^^^^^^^^^ - unexpected argument #3 [INFO] [stdout] | [INFO] [stdout] note: expected `Vec`, found `Option` [INFO] [stdout] --> src/parsing/parser.rs:561:55 [INFO] [stdout] | [INFO] [stdout] 561 | Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 561 - Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] 561 + Expr::Lambda(_, b, c) => Expr::Lambda(/* Vec */, b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parsing/parser.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | Expr::Lambda(name, prams, Box::new(body)) [INFO] [stdout] | ^^^^^^^^^^^^ ---- unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 580 - Expr::Lambda(name, prams, Box::new(body)) [INFO] [stdout] 580 + Expr::Lambda(prams, Box::new(body)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parsing/parser.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | Expr::Lambda(None, vec![c.clone()], Box::new(a)) [INFO] [stdout] | ^^^^^^^^^^^^ ---- unexpected argument #1 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 595 - Expr::Lambda(None, vec![c.clone()], Box::new(a)) [INFO] [stdout] 595 + Expr::Lambda(vec![c.clone()], Box::new(a)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:613:24 [INFO] [stdout] | [INFO] [stdout] 613 | 0 => Expr::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:616:31 [INFO] [stdout] | [INFO] [stdout] 616 | None => Expr::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:618:30 [INFO] [stdout] | [INFO] [stdout] 618 | _ => Expr::Block(is_do, body.to_owned()), [INFO] [stdout] | ----------- ^^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/interacting/repl.rs:168:58 [INFO] [stdout] | [INFO] [stdout] 168 | println!("token: {}", tokens.pop().unwrap_or(Token::Empty())) [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 168 - println!("token: {}", tokens.pop().unwrap_or(Token::Empty())) [INFO] [stdout] 168 + println!("token: {}", tokens.pop().unwrap_or(Token::Empty)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/parsing/parser.rs:630:18 [INFO] [stdout] | [INFO] [stdout] 630 | Kind(Token::Empty()) [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 630 - Kind(Token::Empty()) [INFO] [stdout] 630 + Kind(Token::Empty) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/parsing/parser.rs:642:44 [INFO] [stdout] | [INFO] [stdout] 642 | let mut deft: Expr = Expr::Literal(Token::Empty()); [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 642 - let mut deft: Expr = Expr::Literal(Token::Empty()); [INFO] [stdout] 642 + let mut deft: Expr = Expr::Literal(Token::Empty); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:681:23 [INFO] [stdout] | [INFO] [stdout] 681 | Expr::Nil [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/interacting/repl.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | Expr::Literal(Token::Empty()) [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 226 - Expr::Literal(Token::Empty()) [INFO] [stdout] 226 + Expr::Literal(Token::Empty) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 687 | Expr::Nil [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:705:34 [INFO] [stdout] | [INFO] [stdout] 705 | if matches!(&expr, Expr::Nil) { [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `AssignOp` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:731:18 [INFO] [stdout] | [INFO] [stdout] 731 | match op.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `AssignOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | Expr::Nil => String::new(), [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:765:32 [INFO] [stdout] | [INFO] [stdout] 765 | match p.peek().literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/codegen.rs:51:46 [INFO] [stdout] | [INFO] [stdout] 35 | match expr { [INFO] [stdout] | ---- this expression has type `expression::Expr` [INFO] [stdout] ... [INFO] [stdout] 51 | Expr::Assign(a, b, c) | Expr::Binary(a, b, c) => { [INFO] [stdout] | - ^ expected `AssignOp`, found `BinOp` [INFO] [stdout] | | [INFO] [stdout] | first introduced with type `token::AssignOp` here [INFO] [stdout] | [INFO] [stdout] = note: in the same arm, a binding must have the same type in all alternatives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/parsing/codegen.rs:158:22 [INFO] [stdout] | [INFO] [stdout] 158 | Expr::Lambda(a, b, c) => { [INFO] [stdout] | ^ ^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:798:57 [INFO] [stdout] | [INFO] [stdout] 798 | Expr::Literal(Token::Symbol(self.next().literal(), p)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | format!("{}", body.first().unwrap_or(&Expr::Nil)) [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:929:66 [INFO] [stdout] | [INFO] [stdout] 929 | if self.lexer.has_meta(&format!("{} {}", ty, tok.literal())) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::AssignOp` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | let op = a.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::AssignOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `Token` here [INFO] [stdout] --> src/parsing/parser.rs:1007:23 [INFO] [stdout] | [INFO] [stdout] 1007 | self.peek().literal() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | let xpr = a.first().unwrap_or(&Expr::Nil); [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/codegen.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | if d { "do " } else { "" }, [INFO] [stdout] | ^ expected `bool`, found `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/codegen.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | format!("({}.{}])", transcribe_expr(*a), b.literal()) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/parsing/codegen.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | name: _, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/codegen.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | Expr::Literal(a) => a.literal(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::UnOp` in the current scope [INFO] [stdout] --> src/parsing/codegen.rs:188:52 [INFO] [stdout] | [INFO] [stdout] 188 | Expr::Unary(a, b) => format!("({}({}))", a.literal(), &*b), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::UnOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/parsing/codegen.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | ... name: _, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: struct `Parameter` does not have a field named `name` [INFO] [stdout] --> src/parsing/codegen.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | ... name: _, [INFO] [stdout] | ^^^^ struct `Parameter` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | Expr::Block(false, (&(self.0)).to_vec()) [INFO] [stdout] | ----------- ^^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | Expr::Block(true, (&(self.0)).to_vec()) [INFO] [stdout] | ----------- ^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | self.peek().literal(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_operator` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | Expr::from_operator(&token)( [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `from_operator` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | Expr::Unary(token, Box::new(self.atom())) [INFO] [stdout] | ----------- ^^^^^ expected `UnOp`, found `Token` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | Unary(UnOp, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_operator` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:289:26 [INFO] [stdout] | [INFO] [stdout] 289 | left = Expr::from_operator(&token)( [INFO] [stdout] | ^^^^^^^^^^^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `from_operator` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | match token.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/parsing/parser.rs:379:40 [INFO] [stdout] | [INFO] [stdout] 377 | / match expr { [INFO] [stdout] 378 | | Expr::Literal(id) => Some(id), [INFO] [stdout] | | -------- this is found to be of type `Option` [INFO] [stdout] 379 | | Expr::Lambda(n, ..) => n, [INFO] [stdout] | | ^ expected `Option`, found `Vec` [INFO] [stdout] 380 | | Expr::Call(.., n) => n, [INFO] [stdout] 381 | | Expr::Member(_, n) => Some(n), [INFO] [stdout] 382 | | _ => None, [INFO] [stdout] 383 | | }, [INFO] [stdout] | |_____________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:424:38 [INFO] [stdout] | [INFO] [stdout] 424 | let expr = match self.peek().literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:429:27 [INFO] [stdout] | [INFO] [stdout] 429 | Expr::Nil [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:432:26 [INFO] [stdout] | [INFO] [stdout] 432 | "," => Expr::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_right_punct` found for enum `token::Token` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:448:18 [INFO] [stdout] | [INFO] [stdout] 448 | if token.is_right_punct() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `is_right_punct` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_punct` with a similar name [INFO] [stdout] | [INFO] [stdout] 448 - if token.is_right_punct() { [INFO] [stdout] 448 + if token.as_punct() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_left_punct` found for enum `token::Token` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:450:26 [INFO] [stdout] | [INFO] [stdout] 450 | } else if !token.is_left_punct() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `is_left_punct` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_punct` with a similar name [INFO] [stdout] | [INFO] [stdout] 450 - } else if !token.is_left_punct() { [INFO] [stdout] 450 + } else if !token.as_punct() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:471:32 [INFO] [stdout] | [INFO] [stdout] 471 | let prefix = token.literal(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_left_punct` found for enum `token::Token` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:495:37 [INFO] [stdout] | [INFO] [stdout] 495 | let name = if token.clone().is_left_punct() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `is_left_punct` not found for this enum [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_punct` with a similar name [INFO] [stdout] | [INFO] [stdout] 495 - let name = if token.clone().is_left_punct() { [INFO] [stdout] 495 + let name = if token.clone().as_punct() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/parsing/parser.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | Token::Empty() [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 496 - Token::Empty() [INFO] [stdout] 496 + Token::Empty [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Parameter` has no field named `name` [INFO] [stdout] --> src/parsing/parser.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | name: name.clone(), [INFO] [stdout] | ^^^^ `Parameter` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:518:25 [INFO] [stdout] | [INFO] [stdout] 518 | Expr::Unary(op, Box::new(right)) [INFO] [stdout] | ----------- ^^ expected `UnOp`, found `Token` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | Unary(UnOp, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields [INFO] [stdout] --> src/parsing/parser.rs:561:30 [INFO] [stdout] | [INFO] [stdout] 561 | Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] | ^ ^ ^ expected 2 fields, found 3 [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | -------------- --------- tuple variant has 2 fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parsing/parser.rs:561:42 [INFO] [stdout] | [INFO] [stdout] 561 | Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] | ^^^^^^^^^^^^ - unexpected argument #3 [INFO] [stdout] | [INFO] [stdout] note: expected `Vec`, found `Option` [INFO] [stdout] --> src/parsing/parser.rs:561:55 [INFO] [stdout] | [INFO] [stdout] 561 | Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 561 - Expr::Lambda(_, b, c) => Expr::Lambda(Some(name), b, c), [INFO] [stdout] 561 + Expr::Lambda(_, b, c) => Expr::Lambda(/* Vec */, b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parsing/parser.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | Expr::Lambda(name, prams, Box::new(body)) [INFO] [stdout] | ^^^^^^^^^^^^ ---- unexpected argument #1 of type `Option` [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 580 - Expr::Lambda(name, prams, Box::new(body)) [INFO] [stdout] 580 + Expr::Lambda(prams, Box::new(body)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/parsing/parser.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | Expr::Lambda(None, vec![c.clone()], Box::new(a)) [INFO] [stdout] | ^^^^^^^^^^^^ ---- unexpected argument #1 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | Lambda(Vec, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 595 - Expr::Lambda(None, vec![c.clone()], Box::new(a)) [INFO] [stdout] 595 + Expr::Lambda(vec![c.clone()], Box::new(a)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:613:24 [INFO] [stdout] | [INFO] [stdout] 613 | 0 => Expr::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:616:31 [INFO] [stdout] | [INFO] [stdout] 616 | None => Expr::Nil, [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parsing/parser.rs:618:30 [INFO] [stdout] | [INFO] [stdout] 618 | _ => Expr::Block(is_do, body.to_owned()), [INFO] [stdout] | ----------- ^^^^^ expected `Token`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/parsing/expression.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | Block(Token, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/parsing/parser.rs:630:18 [INFO] [stdout] | [INFO] [stdout] 630 | Kind(Token::Empty()) [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 630 - Kind(Token::Empty()) [INFO] [stdout] 630 + Kind(Token::Empty) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found enum variant `Token::Empty` [INFO] [stdout] --> src/parsing/parser.rs:642:44 [INFO] [stdout] | [INFO] [stdout] 642 | let mut deft: Expr = Expr::Literal(Token::Empty()); [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Empty, [INFO] [stdout] | ----- enum variant `Token::Empty` defined here [INFO] [stdout] | [INFO] [stdout] help: `Token::Empty` is a unit enum variant, and does not take parentheses to be constructed [INFO] [stdout] | [INFO] [stdout] 642 - let mut deft: Expr = Expr::Literal(Token::Empty()); [INFO] [stdout] 642 + let mut deft: Expr = Expr::Literal(Token::Empty); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:681:23 [INFO] [stdout] | [INFO] [stdout] 681 | Expr::Nil [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:687:27 [INFO] [stdout] | [INFO] [stdout] 687 | Expr::Nil [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Nil` found for enum `expression::Expr` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:705:34 [INFO] [stdout] | [INFO] [stdout] 705 | if matches!(&expr, Expr::Nil) { [INFO] [stdout] | ^^^ variant or associated item not found in `expression::Expr` [INFO] [stdout] | [INFO] [stdout] ::: src/parsing/expression.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | pub enum Expr { [INFO] [stdout] | ------------- variant or associated item `Nil` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::AssignOp` in the current scope [INFO] [stdout] --> src/parsing/parser.rs:731:18 [INFO] [stdout] | [INFO] [stdout] 731 | match op.literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::AssignOp` here [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | / pub enum $opk { [INFO] [stdout] 344 | | $( [INFO] [stdout] 345 | | #[doc = $lit] [INFO] [stdout] 346 | | $name, [INFO] [stdout] 347 | | )+ [INFO] [stdout] 348 | | } [INFO] [stdout] | |_________- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/literal.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | fn match_literal(&self, other: impl Into) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:765:32 [INFO] [stdout] | [INFO] [stdout] 765 | match p.peek().literal().as_str() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:798:57 [INFO] [stdout] | [INFO] [stdout] 798 | Expr::Literal(Token::Symbol(self.next().literal(), p)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:929:66 [INFO] [stdout] | [INFO] [stdout] 929 | if self.lexer.has_meta(&format!("{} {}", ty, tok.literal())) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `literal` found for enum `token::Token` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/tok/token.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Token { [INFO] [stdout] | -------------- method `literal` not found for this enum [INFO] [stdout] | [INFO] [stdout] ::: src/tok/literal.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn literal(&self) -> Self::Lit; [INFO] [stdout] | ------- the method is available for `token::Token` here [INFO] [stdout] --> src/parsing/parser.rs:1007:23 [INFO] [stdout] | [INFO] [stdout] 1007 | self.peek().literal() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `match_literal` with a similar name, but with different arguments [INFO] [stdout] --> src/tok/token.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn match_literal(&self, word: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Literal` which provides `literal` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tok::literal::Literal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Imply` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Imply` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Or` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or2` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Or2` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::And` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And2` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::And2` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitOr` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitOr` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitXor` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitXor` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitXor2` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitXor2` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitAnd` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitAnd` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ShL` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::ShL` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ShR` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::ShR` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `NotEq` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::NotEq` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Equal` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Equal` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Less` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Less` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `LessEq` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::LessEq` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Greater` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Greater` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `GreaterEq` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::GreaterEq` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Conc` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Conc` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Comb` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Comb` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Plus` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Plus` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Minus` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Minus` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Times` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Times` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Div` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Div` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Rem` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Rem` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Mod` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Mod` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Pow` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Pow` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Raise` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Raise` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Plus` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Plus` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Times` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Times` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Minus` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Minus` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Div` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Div` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Mod` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Mod` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Rem` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Rem` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Pow` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Pow` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Or` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::And` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitAnd` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitAnd` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitXor` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitXor` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitOr` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitOr` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitNot` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitNot` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitShL` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitShL` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitShR` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitShR` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Conc` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Conc` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Comb` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Comb` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Def` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Def` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Set` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Set` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Put` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Put` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Bind` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Bind` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Not` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Not` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Not2` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Not2` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Neg` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Neg` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitNot` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::BitNot` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Ref` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Ref` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Deref` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Deref` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Do` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Do` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Let` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Let` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `In` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::In` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `If` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::If` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Then` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Then` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Else` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Else` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Loop` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Loop` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Case` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Case` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Of` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Of` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Where` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Where` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Data` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Data` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Fn` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Fn` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `This` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::This` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Struct` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Struct` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Import` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Import` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Export` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Export` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0026, E0061, E0170, E0308, E0432, E0532, E0560, E0583... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ryg` (bin "ryg") due to 172 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0170]: pattern binding `Imply` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Imply` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Or` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or2` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Or2` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::And` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And2` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::And2` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitOr` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitOr` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitXor` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitXor` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitXor2` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitXor2` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitAnd` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::BitAnd` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ShL` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::ShL` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ShR` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::ShR` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `NotEq` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::NotEq` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Equal` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Equal` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Less` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Less` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `LessEq` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::LessEq` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Greater` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Greater` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `GreaterEq` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::GreaterEq` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Conc` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Conc` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Comb` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Comb` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Plus` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Plus` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Minus` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Minus` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Times` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Times` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Div` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Div` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Rem` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Rem` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Mod` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Mod` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Pow` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Pow` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Raise` is named the same as one of the variants of the type `tok::token::BinOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::BinOp::Raise` [INFO] [stdout] ... [INFO] [stdout] 419 | / def_tok_set! { BinOp is_binary :: [INFO] [stdout] 420 | | // Test [INFO] [stdout] 421 | | "=>" Imply "||" Or "or" Or2 [INFO] [stdout] 422 | | "&&" And "and" And2 [INFO] [stdout] ... | [INFO] [stdout] 433 | | "**" Pow "^^" Raise [INFO] [stdout] 434 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Plus` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Plus` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Times` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Times` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Minus` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Minus` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Div` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Div` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Mod` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Mod` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Rem` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Rem` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Pow` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Pow` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Or` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Or` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `And` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::And` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitAnd` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitAnd` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitXor` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitXor` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitOr` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitOr` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitNot` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitNot` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitShL` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitShL` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitShR` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::BitShR` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Conc` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Conc` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Comb` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Comb` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Def` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Def` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Set` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Set` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Put` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Put` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Bind` is named the same as one of the variants of the type `tok::token::AssignOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::AssignOp::Bind` [INFO] [stdout] ... [INFO] [stdout] 436 | / def_tok_set! { all 1 R, AssignOp is_assign_op :: [INFO] [stdout] 437 | | "+=" Plus [INFO] [stdout] 438 | | "*=" Times [INFO] [stdout] 439 | | "-=" Minus [INFO] [stdout] ... | [INFO] [stdout] 458 | | "=<" Bind [INFO] [stdout] 459 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Not` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Not` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Not2` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Not2` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Neg` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Neg` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `BitNot` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::BitNot` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Ref` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Ref` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Deref` is named the same as one of the variants of the type `tok::token::UnOp` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::UnOp::Deref` [INFO] [stdout] ... [INFO] [stdout] 461 | / def_tok_set! { all 1 R, UnOp is_unary :: [INFO] [stdout] 462 | | "!" Not [INFO] [stdout] 463 | | "not" Not2 [INFO] [stdout] 464 | | "-" Neg [INFO] [stdout] ... | [INFO] [stdout] 467 | | "*" Deref [INFO] [stdout] 468 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Do` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Do` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Let` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Let` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `In` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::In` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `If` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::If` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Then` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Then` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Else` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Else` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Loop` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Loop` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Case` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Case` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Of` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Of` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Where` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Where` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Data` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Data` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Fn` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Fn` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `This` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::This` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Struct` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Struct` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Import` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Import` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Export` is named the same as one of the variants of the type `tok::token::Kw` [INFO] [stdout] --> src/tok/token.rs:364:23 [INFO] [stdout] | [INFO] [stdout] 364 | $($name => $lit,)+ [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `tok::token::Kw::Export` [INFO] [stdout] ... [INFO] [stdout] 509 | / def_tok_set! { Kw is_kw :: [INFO] [stdout] 510 | | "do" Do [INFO] [stdout] 511 | | "let" Let [INFO] [stdout] 512 | | "in" In [INFO] [stdout] ... | [INFO] [stdout] 525 | | "export" Export [INFO] [stdout] 526 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `def_tok_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0026, E0061, E0170, E0308, E0432, E0532, E0560, E0583... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ryg` (bin "ryg" test) due to 174 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2e6450864dbb660387bbbb75207e77aa5152bb6494df4b863322e26f17a40c72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6450864dbb660387bbbb75207e77aa5152bb6494df4b863322e26f17a40c72", kill_on_drop: false }` [INFO] [stdout] 2e6450864dbb660387bbbb75207e77aa5152bb6494df4b863322e26f17a40c72