[INFO] cloning repository https://github.com/rust-lang-nursery/rustfmt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-lang-nursery/rustfmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f3f87fb9a629db8bf0c6e04604320cd028f79e8 [INFO] testing rust-lang-nursery/rustfmt against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt" "/workspace/builds/worker-91/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-91/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-lang-nursery/rustfmt on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-91/source/rust-toolchain [INFO] started tweaking git repo https://github.com/rust-lang-nursery/rustfmt [INFO] finished tweaking git repo https://github.com/rust-lang-nursery/rustfmt [INFO] tweaked toml for git repo https://github.com/rust-lang-nursery/rustfmt written to /workspace/builds/worker-91/source/Cargo.toml [INFO] crate git repo https://github.com/rust-lang-nursery/rustfmt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60b2bd3175973365e9f19c0896a17484c3b417e47e440a054e080b256fb7d988 [INFO] running `Command { std: "docker" "start" "-a" "60b2bd3175973365e9f19c0896a17484c3b417e47e440a054e080b256fb7d988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60b2bd3175973365e9f19c0896a17484c3b417e47e440a054e080b256fb7d988", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b2bd3175973365e9f19c0896a17484c3b417e47e440a054e080b256fb7d988", kill_on_drop: false }` [INFO] [stdout] 60b2bd3175973365e9f19c0896a17484c3b417e47e440a054e080b256fb7d988 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20f9aa74e21e0666a654d1ef07c6b96b49430d56712e0a68e31e45c48e3fd271 [INFO] running `Command { std: "docker" "start" "-a" "20f9aa74e21e0666a654d1ef07c6b96b49430d56712e0a68e31e45c48e3fd271", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling yansi-term v0.1.2 [INFO] [stderr] Compiling rustfmt-nightly v1.4.38 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc-workspace-hack v1.0.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling annotate-snippets v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling rustfmt-config_proc_macro v0.2.0 (/opt/rustwide/workdir/config_proc_macro) [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling clap v3.1.8 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast_pretty` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate rustc_ast_pretty; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_builtin_macros` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate rustc_builtin_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_expand` [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate rustc_expand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_parse` [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate rustc_parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ast` in the crate root [INFO] [stdout] --> src/items.rs:592:24 [INFO] [stdout] | [INFO] [stdout] 592 | use crate::ast::AssocItemKind::*; [INFO] [stdout] | ^^^ could not find `ast` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | use ast::AssocConstraintKind::{Bound, Equality}; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ast::AssocItemKind::*`, `ast::AssocConstraintKind::Bound`, `ast::AssocConstraintKind::Equality` [INFO] [stdout] --> src/items.rs:592:17 [INFO] [stdout] | [INFO] [stdout] 592 | use crate::ast::AssocItemKind::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | use ast::AssocConstraintKind::{Bound, Equality}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Symbol::intern("rustfmt_skip") [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/utils.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Symbol::intern("rustfmt::skip") [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/utils.rs:27:73 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn rewrite_ident<'a>(context: &'a RewriteContext<'_>, ident: symbol::Ident) -> &'a str { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | VisibilityKind::Restricted { path: p, .. }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | VisibilityKind::Restricted { path: q, .. }, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/utils.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | ) => pprust::path_to_string(p) == pprust::path_to_string(q), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/utils.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | ) => pprust::path_to_string(p) == pprust::path_to_string(q), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | (VisibilityKind::Public, VisibilityKind::Public) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | (VisibilityKind::Public, VisibilityKind::Public) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | | (VisibilityKind::Inherited, VisibilityKind::Inherited) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | | (VisibilityKind::Inherited, VisibilityKind::Inherited) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | VisibilityKind::Crate(CrateSugar::PubCrate), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateSugar` [INFO] [stdout] --> src/utils.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | VisibilityKind::Crate(CrateSugar::PubCrate), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrateSugar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | VisibilityKind::Crate(CrateSugar::PubCrate), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateSugar` [INFO] [stdout] --> src/utils.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | VisibilityKind::Crate(CrateSugar::PubCrate), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrateSugar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | VisibilityKind::Crate(CrateSugar::JustCrate), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateSugar` [INFO] [stdout] --> src/utils.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | VisibilityKind::Crate(CrateSugar::JustCrate), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrateSugar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | VisibilityKind::Crate(CrateSugar::JustCrate), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateSugar` [INFO] [stdout] --> src/utils.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | VisibilityKind::Crate(CrateSugar::JustCrate), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrateSugar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | VisibilityKind::Public => Cow::from("pub "), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | VisibilityKind::Inherited => Cow::from(""), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | VisibilityKind::Crate(CrateSugar::PubCrate) => Cow::from("pub(crate) "), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateSugar` [INFO] [stdout] --> src/utils.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | VisibilityKind::Crate(CrateSugar::PubCrate) => Cow::from("pub(crate) "), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrateSugar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | VisibilityKind::Crate(CrateSugar::JustCrate) => Cow::from("crate "), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CrateSugar` [INFO] [stdout] --> src/utils.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | VisibilityKind::Crate(CrateSugar::JustCrate) => Cow::from("crate "), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CrateSugar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VisibilityKind` [INFO] [stdout] --> src/utils.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | VisibilityKind::Restricted { ref path, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VisibilityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn format_async(is_async: &ast::Async) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | ast::Async::Yes { .. } => "async ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | ast::Async::No => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn format_constness(constness: ast::Const) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | ast::Const::Yes(..) => "const ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | ast::Const::No => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | pub(crate) fn format_constness_right(constness: ast::Const) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | ast::Const::Yes(..) => " const", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | ast::Const::No => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | pub(crate) fn format_defaultness(defaultness: ast::Defaultness) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | ast::Defaultness::Default(..) => "default ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | ast::Defaultness::Final => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn format_unsafety(unsafety: ast::Unsafe) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ast::Unsafe::Yes(..) => "unsafe ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | ast::Unsafe::No => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn format_auto(is_auto: ast::IsAuto) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | ast::IsAuto::Yes => "auto ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | ast::IsAuto::No => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:136:45 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn format_mutability(mutability: ast::Mutability) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | ast::Mutability::Mut => "mut ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ast::Mutability::Not => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | ext: ast::Extern, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | ast::Extern::None => "Rust".to_owned(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | ast::Extern::Implicit => "C".to_owned(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | ast::Extern::Explicit(abi) => abi.symbol_unescaped.to_string(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/utils.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 166 | pub(crate) fn ptr_vec_to_ref_vec(vec: &[ptr::P]) -> Vec<&T> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | style: ast::AttrStyle, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | ) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn inner_attributes(attrs: &[ast::Attribute]) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:183:65 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn inner_attributes(attrs: &[ast::Attribute]) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | filter_attributes(attrs, ast::AttrStyle::Inner) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) fn outer_attributes(attrs: &[ast::Attribute]) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:188:65 [INFO] [stdout] | [INFO] [stdout] 188 | pub(crate) fn outer_attributes(attrs: &[ast::Attribute]) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | filter_attributes(attrs, ast::AttrStyle::Outer) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/utils.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | MetaItemKind::Word => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/utils.rs:262:28 [INFO] [stdout] | [INFO] [stdout] 262 | let path_str = pprust::path_to_string(&meta_item.path); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetaItemKind` [INFO] [stdout] --> src/utils.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | MetaItemKind::List(ref l) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MetaItemKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/utils.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | meta_item.has_name(sym::cfg_attr) && l.len() == 2 && is_skip_nested(&l[1]) [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItem` [INFO] [stdout] --> src/utils.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | NestedMetaItem::MetaItem(ref mi) => is_skip(mi), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NestedMetaItem` [INFO] [stdout] --> src/utils.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | NestedMetaItem::Literal(_) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `NestedMetaItem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:288:71 [INFO] [stdout] | [INFO] [stdout] 288 | pub(crate) fn semicolon_for_expr(context: &RewriteContext<'_>, expr: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | ast::ExprKind::Ret(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Break(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:297:34 [INFO] [stdout] | [INFO] [stdout] 297 | ast::ExprKind::Ret(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Break(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:297:64 [INFO] [stdout] | [INFO] [stdout] 297 | ast::ExprKind::Ret(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Break(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:305:71 [INFO] [stdout] | [INFO] [stdout] 305 | pub(crate) fn semicolon_for_stmt(context: &RewriteContext<'_>, stmt: &ast::Stmt) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | ast::StmtKind::Semi(ref expr) => match expr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | ast::ExprKind::While(..) | ast::ExprKind::Loop(..) | ast::ExprKind::ForLoop(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:308:40 [INFO] [stdout] | [INFO] [stdout] 308 | ast::ExprKind::While(..) | ast::ExprKind::Loop(..) | ast::ExprKind::ForLoop(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:308:66 [INFO] [stdout] | [INFO] [stdout] 308 | ast::ExprKind::While(..) | ast::ExprKind::Loop(..) | ast::ExprKind::ForLoop(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | ast::ExprKind::Break(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Ret(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:311:40 [INFO] [stdout] | [INFO] [stdout] 311 | ast::ExprKind::Break(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Ret(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:311:70 [INFO] [stdout] | [INFO] [stdout] 311 | ast::ExprKind::Break(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Ret(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | ast::StmtKind::Expr(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:322:32 [INFO] [stdout] | [INFO] [stdout] 322 | pub(crate) fn stmt_expr(stmt: &ast::Stmt) -> Option<&ast::Expr> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:322:54 [INFO] [stdout] | [INFO] [stdout] 322 | pub(crate) fn stmt_expr(stmt: &ast::Stmt) -> Option<&ast::Expr> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | ast::StmtKind::Expr(ref expr) => Some(expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span` [INFO] [stdout] --> src/utils.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | Span::new(lo, hi, SyntaxContext::root(), None) [INFO] [stdout] | ^^^^ use of undeclared type `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxContext` [INFO] [stdout] --> src/utils.rs:359:23 [INFO] [stdout] | [INFO] [stdout] 359 | Span::new(lo, hi, SyntaxContext::root(), None) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SyntaxContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span` [INFO] [stdout] --> src/utils.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | Span::new(lo, lo + BytePos(1), SyntaxContext::root(), None) [INFO] [stdout] | ^^^^ use of undeclared type `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SyntaxContext` [INFO] [stdout] --> src/utils.rs:363:36 [INFO] [stdout] | [INFO] [stdout] 363 | Span::new(lo, lo + BytePos(1), SyntaxContext::root(), None) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SyntaxContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:444:38 [INFO] [stdout] | [INFO] [stdout] 444 | pub(crate) fn left_most_sub_expr(e: &ast::Expr) -> &ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:444:53 [INFO] [stdout] | [INFO] [stdout] 444 | pub(crate) fn left_most_sub_expr(e: &ast::Expr) -> &ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | ast::ExprKind::Call(ref e, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:447:11 [INFO] [stdout] | [INFO] [stdout] 447 | | ast::ExprKind::Binary(_, ref e, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:448:11 [INFO] [stdout] | [INFO] [stdout] 448 | | ast::ExprKind::Cast(ref e, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:449:11 [INFO] [stdout] | [INFO] [stdout] 449 | | ast::ExprKind::Type(ref e, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:450:11 [INFO] [stdout] | [INFO] [stdout] 450 | | ast::ExprKind::Assign(ref e, _, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:451:11 [INFO] [stdout] | [INFO] [stdout] 451 | | ast::ExprKind::AssignOp(_, ref e, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:452:11 [INFO] [stdout] | [INFO] [stdout] 452 | | ast::ExprKind::Field(ref e, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:453:11 [INFO] [stdout] | [INFO] [stdout] 453 | | ast::ExprKind::Index(ref e, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:454:11 [INFO] [stdout] | [INFO] [stdout] 454 | | ast::ExprKind::Range(Some(ref e), _, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:455:11 [INFO] [stdout] | [INFO] [stdout] 455 | | ast::ExprKind::Try(ref e) => left_most_sub_expr(e), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:472:66 [INFO] [stdout] | [INFO] [stdout] 472 | pub(crate) fn is_block_expr(context: &RewriteContext<'_>, expr: &ast::Expr, repr: &str) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:474:9 [INFO] [stdout] | [INFO] [stdout] 474 | ast::ExprKind::MacCall(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:475:11 [INFO] [stdout] | [INFO] [stdout] 475 | | ast::ExprKind::Call(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:476:11 [INFO] [stdout] | [INFO] [stdout] 476 | | ast::ExprKind::MethodCall(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:477:11 [INFO] [stdout] | [INFO] [stdout] 477 | | ast::ExprKind::Array(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:478:11 [INFO] [stdout] | [INFO] [stdout] 478 | | ast::ExprKind::Struct(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:479:11 [INFO] [stdout] | [INFO] [stdout] 479 | | ast::ExprKind::While(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:480:11 [INFO] [stdout] | [INFO] [stdout] 480 | | ast::ExprKind::If(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:481:11 [INFO] [stdout] | [INFO] [stdout] 481 | | ast::ExprKind::Block(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:482:11 [INFO] [stdout] | [INFO] [stdout] 482 | | ast::ExprKind::ConstBlock(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:483:11 [INFO] [stdout] | [INFO] [stdout] 483 | | ast::ExprKind::Async(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:484:11 [INFO] [stdout] | [INFO] [stdout] 484 | | ast::ExprKind::Loop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:485:11 [INFO] [stdout] | [INFO] [stdout] 485 | | ast::ExprKind::ForLoop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:486:11 [INFO] [stdout] | [INFO] [stdout] 486 | | ast::ExprKind::TryBlock(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:487:11 [INFO] [stdout] | [INFO] [stdout] 487 | | ast::ExprKind::Match(..) => repr.contains('\n'), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:488:9 [INFO] [stdout] | [INFO] [stdout] 488 | ast::ExprKind::Paren(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:489:11 [INFO] [stdout] | [INFO] [stdout] 489 | | ast::ExprKind::Binary(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:490:11 [INFO] [stdout] | [INFO] [stdout] 490 | | ast::ExprKind::Index(_, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:491:11 [INFO] [stdout] | [INFO] [stdout] 491 | | ast::ExprKind::Unary(_, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:492:11 [INFO] [stdout] | [INFO] [stdout] 492 | | ast::ExprKind::Closure(_, _, _, _, ref expr, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:493:11 [INFO] [stdout] | [INFO] [stdout] 493 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:494:11 [INFO] [stdout] | [INFO] [stdout] 494 | | ast::ExprKind::Yield(Some(ref expr)) => is_block_expr(context, expr, repr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | ast::ExprKind::Lit(_) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | ast::ExprKind::AddrOf(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:500:11 [INFO] [stdout] | [INFO] [stdout] 500 | | ast::ExprKind::Assign(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:501:11 [INFO] [stdout] | [INFO] [stdout] 501 | | ast::ExprKind::AssignOp(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:502:11 [INFO] [stdout] | [INFO] [stdout] 502 | | ast::ExprKind::Await(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:503:11 [INFO] [stdout] | [INFO] [stdout] 503 | | ast::ExprKind::Box(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:504:11 [INFO] [stdout] | [INFO] [stdout] 504 | | ast::ExprKind::Break(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:505:11 [INFO] [stdout] | [INFO] [stdout] 505 | | ast::ExprKind::Cast(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:506:11 [INFO] [stdout] | [INFO] [stdout] 506 | | ast::ExprKind::Continue(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:507:11 [INFO] [stdout] | [INFO] [stdout] 507 | | ast::ExprKind::Err [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:508:11 [INFO] [stdout] | [INFO] [stdout] 508 | | ast::ExprKind::Field(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:509:11 [INFO] [stdout] | [INFO] [stdout] 509 | | ast::ExprKind::InlineAsm(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:510:11 [INFO] [stdout] | [INFO] [stdout] 510 | | ast::ExprKind::Let(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:511:11 [INFO] [stdout] | [INFO] [stdout] 511 | | ast::ExprKind::Path(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | | ast::ExprKind::Range(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:513:11 [INFO] [stdout] | [INFO] [stdout] 513 | | ast::ExprKind::Repeat(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:514:11 [INFO] [stdout] | [INFO] [stdout] 514 | | ast::ExprKind::Ret(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:515:11 [INFO] [stdout] | [INFO] [stdout] 515 | | ast::ExprKind::Tup(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:516:11 [INFO] [stdout] | [INFO] [stdout] 516 | | ast::ExprKind::Type(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:517:11 [INFO] [stdout] | [INFO] [stdout] 517 | | ast::ExprKind::Yield(None) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/utils.rs:518:11 [INFO] [stdout] | [INFO] [stdout] 518 | | ast::ExprKind::Underscore => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeId` [INFO] [stdout] --> src/utils.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 689 | NodeId::placeholder_from_expn_id(LocalExpnId::ROOT) [INFO] [stdout] | ^^^^^^ use of undeclared type `NodeId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocalExpnId` [INFO] [stdout] --> src/utils.rs:689:42 [INFO] [stdout] | [INFO] [stdout] 689 | NodeId::placeholder_from_expn_id(LocalExpnId::ROOT) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `LocalExpnId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn contains_name(attrs: &[ast::Attribute], name: Symbol) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn get_attrs_from_stmt(stmt: &ast::Stmt) -> &[ast::Attribute] { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:37:58 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn get_attrs_from_stmt(stmt: &ast::Stmt) -> &[ast::Attribute] { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) fn get_span_without_attrs(stmt: &ast::Stmt) -> Span { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | ast::StmtKind::Local(ref local) => local.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | ast::StmtKind::Item(ref item) => item.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | ast::StmtKind::Expr(ref expr) | ast::StmtKind::Semi(ref expr) => expr.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | ast::StmtKind::Expr(ref expr) | ast::StmtKind::Semi(ref expr) => expr.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ast::StmtKind::MacCall(ref mac_stmt) => mac_stmt.mac.span(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | ast::StmtKind::Empty => stmt.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | ) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | fn is_derive(attr: &ast::Attribute) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/attr.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | attr.has_name(sym::derive) [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | derives: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 208 | P: Fn(&ast::Attribute) -> bool, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | attrs: &'a [ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 206 | ) -> &'a [ast::Attribute] [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:235:14 [INFO] [stdout] | [INFO] [stdout] 235 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | impl Rewrite for ast::NestedMetaItem { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | ast::NestedMetaItem::MetaItem(ref meta_item) => meta_item.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | ast::NestedMetaItem::Literal(ref l) => rewrite_literal(context, l, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:290:18 [INFO] [stdout] | [INFO] [stdout] 290 | impl Rewrite for ast::MetaItem { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | ast::MetaItemKind::Word => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:296:13 [INFO] [stdout] | [INFO] [stdout] 296 | ast::MetaItemKind::List(ref list) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | ast::MetaItemKind::NameValue(ref literal) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | impl Rewrite for ast::Attribute { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/attr.rs:350:79 [INFO] [stdout] | [INFO] [stdout] 350 | if context.config.normalize_doc_attributes() && meta.has_name(sym::doc) { [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:353:29 [INFO] [stdout] | [INFO] [stdout] 353 | ... ast::AttrStyle::Inner => CommentStyle::Doc, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:354:29 [INFO] [stdout] | [INFO] [stdout] 354 | ... ast::AttrStyle::Outer => CommentStyle::TripleSlash, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 382 | impl Rewrite for [ast::Attribute] { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:503:23 [INFO] [stdout] | [INFO] [stdout] 503 | fn attr_prefix(attr: &ast::Attribute) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | ast::AttrStyle::Inner => "#!", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | ast::AttrStyle::Outer => "#", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:511:52 [INFO] [stdout] | [INFO] [stdout] 511 | fn visit_meta_item(&mut self, meta_item: &'ast ast::MetaItem) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | ast::MetaItemKind::Word => self.visit_meta_word(meta_item), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | ast::MetaItemKind::List(ref list) => self.visit_meta_list(meta_item, list), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | ast::MetaItemKind::NameValue(ref lit) => self.visit_meta_name_value(meta_item, lit), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:521:27 [INFO] [stdout] | [INFO] [stdout] 521 | _meta_item: &'ast ast::MetaItem, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:522:22 [INFO] [stdout] | [INFO] [stdout] 522 | list: &'ast [ast::NestedMetaItem], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:529:53 [INFO] [stdout] | [INFO] [stdout] 529 | fn visit_meta_word(&mut self, _meta_item: &'ast ast::MetaItem) {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:531:59 [INFO] [stdout] | [INFO] [stdout] 531 | fn visit_meta_name_value(&mut self, _meta_item: &'ast ast::MetaItem, _lit: &'ast ast::Lit) {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:531:86 [INFO] [stdout] | [INFO] [stdout] 531 | fn visit_meta_name_value(&mut self, _meta_item: &'ast ast::MetaItem, _lit: &'ast ast::Lit) {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:533:52 [INFO] [stdout] | [INFO] [stdout] 533 | fn visit_nested_meta_item(&mut self, nm: &'ast ast::NestedMetaItem) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:535:13 [INFO] [stdout] | [INFO] [stdout] 535 | ast::NestedMetaItem::MetaItem(ref meta_item) => self.visit_meta_item(meta_item), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | ast::NestedMetaItem::Literal(ref lit) => self.visit_literal(lit), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/attr.rs:540:45 [INFO] [stdout] | [INFO] [stdout] 540 | fn visit_literal(&mut self, _lit: &'ast ast::Lit) {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | Parent(ast::Expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | ast::PathSegment, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | Vec, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/chains.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | Vec>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | Vec>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/chains.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | StructField(symbol::Ident), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/chains.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | TupleField(symbol::Ident, bool), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:137:35 [INFO] [stdout] | [INFO] [stdout] 137 | fn is_tup_field_access(expr: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | ast::ExprKind::Field(_, ref field) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:146:54 [INFO] [stdout] | [INFO] [stdout] 146 | fn from_ast(context: &RewriteContext<'_>, expr: &ast::Expr) -> (ChainItemKind, Span) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | ast::ExprKind::MethodCall(ref segment, ref expressions, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | if let ast::GenericArgs::AngleBracketed(ref data) = **generic_args { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | ... ast::AngleBracketedArg::Arg(ref generic_arg) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | ast::ExprKind::Field(ref nested, field) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | ast::ExprKind::Await(ref nested) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:220:49 [INFO] [stdout] | [INFO] [stdout] 220 | fn new(context: &RewriteContext<'_>, expr: &ast::Expr, tries: usize) -> ChainItem { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/chains.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | method_name: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | types: &[ast::GenericArg], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/chains.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | args: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | args: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | fn from_ast(expr: &ast::Expr, context: &RewriteContext<'_>) -> Chain { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | ast::ExprKind::Try(_) => sub_tries += 1, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:389:33 [INFO] [stdout] | [INFO] [stdout] 389 | fn make_subexpr_list(expr: &ast::Expr, context: &RewriteContext<'_>) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:389:81 [INFO] [stdout] | [INFO] [stdout] 389 | fn make_subexpr_list(expr: &ast::Expr, context: &RewriteContext<'_>) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:401:30 [INFO] [stdout] | [INFO] [stdout] 401 | fn pop_expr_chain(expr: &ast::Expr, context: &RewriteContext<'_>) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:401:81 [INFO] [stdout] | [INFO] [stdout] 401 | fn pop_expr_chain(expr: &ast::Expr, context: &RewriteContext<'_>) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | ast::ExprKind::MethodCall(_, ref expressions, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | ast::ExprKind::Field(ref subexpr, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | | ast::ExprKind::Try(ref subexpr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:408:15 [INFO] [stdout] | [INFO] [stdout] 408 | | ast::ExprKind::Await(ref subexpr) => Some(Self::convert_try(subexpr, context)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:413:27 [INFO] [stdout] | [INFO] [stdout] 413 | fn convert_try(expr: &ast::Expr, context: &RewriteContext<'_>) -> ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:413:71 [INFO] [stdout] | [INFO] [stdout] 413 | fn convert_try(expr: &ast::Expr, context: &RewriteContext<'_>) -> ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/chains.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | ast::ExprKind::MacCall(ref mac) if context.config.use_try_shorthand() => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | capture: ast::CaptureBy, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | is_async: &ast::Async, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | movability: ast::Movability, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn_decl: &ast::FnDecl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | body: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | if let ast::ExprKind::Block(ref block, _) = body.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ast::FnRetTy::Default(_) if !context.inside_macro() => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | expr: &'a ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> &'a ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | if let ast::ExprKind::Block(ref block, _) = expr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | fn needs_block(block: &ast::Block, prefix: &str, context: &RewriteContext<'_>) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | fn veto_block(e: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | ast::ExprKind::Call(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | | ast::ExprKind::Binary(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:123:11 [INFO] [stdout] | [INFO] [stdout] 123 | | ast::ExprKind::Cast(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | | ast::ExprKind::Type(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 125 | | ast::ExprKind::Assign(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | | ast::ExprKind::AssignOp(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 127 | | ast::ExprKind::Field(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | | ast::ExprKind::Index(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | | ast::ExprKind::Range(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | | ast::ExprKind::Try(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | body: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let block = ast::Block { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | stmts: vec![ast::Stmt { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | id: ast::NodeId::root(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | kind: ast::StmtKind::Expr(ptr::P(body.clone())), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/closures.rs:152:39 [INFO] [stdout] | [INFO] [stdout] 152 | kind: ast::StmtKind::Expr(ptr::P(body.clone())), [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | id: ast::NodeId::root(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | rules: ast::BlockCheckMode::Default, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | fn allow_multi_line(expr: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | ast::ExprKind::Match(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | | ast::ExprKind::Async(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | | ast::ExprKind::Block(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:189:15 [INFO] [stdout] | [INFO] [stdout] 189 | | ast::ExprKind::TryBlock(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | | ast::ExprKind::Loop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | | ast::ExprKind::Struct(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | ast::ExprKind::AddrOf(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | | ast::ExprKind::Box(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | | ast::ExprKind::Unary(_, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | | ast::ExprKind::Cast(ref expr, _) => allow_multi_line(expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | capture: ast::CaptureBy, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | asyncness: &ast::Async, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | movability: ast::Movability, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | fn_decl: &ast::FnDecl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | body: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:239:38 [INFO] [stdout] | [INFO] [stdout] 239 | let immovable = if movability == ast::Movability::Static { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:245:31 [INFO] [stdout] | [INFO] [stdout] 245 | let mover = if capture == ast::CaptureBy::Value { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if let ast::ExprKind::Closure(capture, ref is_async, movability, ref fn_decl, ref body, _) = [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | ast::ExprKind::Block(ref block, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | ast::FnRetTy::Default(..) if body_str.lines().count() <= 7 => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:381:44 [INFO] [stdout] | [INFO] [stdout] 381 | .filter(|expr| matches!(expr.kind, ast::ExprKind::Closure(..))) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:386:65 [INFO] [stdout] | [INFO] [stdout] 386 | fn is_block_closure_forced(context: &RewriteContext<'_>, expr: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:395:41 [INFO] [stdout] | [INFO] [stdout] 395 | fn is_block_closure_forced_inner(expr: &ast::Expr, version: Version) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | ast::ExprKind::If(..) | ast::ExprKind::While(..) | ast::ExprKind::ForLoop(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:397:33 [INFO] [stdout] | [INFO] [stdout] 397 | ast::ExprKind::If(..) | ast::ExprKind::While(..) | ast::ExprKind::ForLoop(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:397:60 [INFO] [stdout] | [INFO] [stdout] 397 | ast::ExprKind::If(..) | ast::ExprKind::While(..) | ast::ExprKind::ForLoop(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | ast::ExprKind::Loop(..) if version == Version::Two => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | ast::ExprKind::AddrOf(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:400:11 [INFO] [stdout] | [INFO] [stdout] 400 | | ast::ExprKind::Box(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:402:11 [INFO] [stdout] | [INFO] [stdout] 402 | | ast::ExprKind::Unary(_, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:403:11 [INFO] [stdout] | [INFO] [stdout] 403 | | ast::ExprKind::Cast(ref expr, _) => is_block_closure_forced_inner(expr, version), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:416:38 [INFO] [stdout] | [INFO] [stdout] 416 | fn expr_requires_semi_to_be_stmt(e: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | ast::ExprKind::If(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:419:11 [INFO] [stdout] | [INFO] [stdout] 419 | | ast::ExprKind::Match(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | | ast::ExprKind::Block(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:421:11 [INFO] [stdout] | [INFO] [stdout] 421 | | ast::ExprKind::While(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:422:11 [INFO] [stdout] | [INFO] [stdout] 422 | | ast::ExprKind::Loop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:423:11 [INFO] [stdout] | [INFO] [stdout] 423 | | ast::ExprKind::ForLoop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/closures.rs:424:11 [INFO] [stdout] | [INFO] [stdout] 424 | | ast::ExprKind::TryBlock(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | impl Rewrite for ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ast::ExprKind::Array(ref expr_vec) => rewrite_array( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | ast::ExprKind::Lit(ref l) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/expr.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | if let LitKind::StrRaw(_) = l.token.kind { [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | ast::ExprKind::Call(ref callee, ref args) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | ast::ExprKind::Paren(ref subexpr) => rewrite_paren(context, subexpr, shape, expr.span), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | ast::ExprKind::Binary(op, ref lhs, ref rhs) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | ast::ExprKind::Unary(op, ref subexpr) => rewrite_unary_op(context, op, subexpr, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | ast::ExprKind::Struct(ref struct_expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let ast::StructExpr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | ast::ExprKind::Tup(ref items) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | ast::ExprKind::Let(..) => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | ast::ExprKind::If(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | | ast::ExprKind::ForLoop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 133 | | ast::ExprKind::Loop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | | ast::ExprKind::While(..) => to_control_flow(expr, expr_type) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | ast::ExprKind::ConstBlock(ref anon_const) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | ast::ExprKind::Block(ref block, opt_label) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | ast::ExprKind::Match(ref cond, ref arms) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | ast::ExprKind::Path(ref qself, ref path) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | ast::ExprKind::Assign(ref lhs, ref rhs, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | ast::ExprKind::AssignOp(ref op, ref lhs, ref rhs) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | ast::ExprKind::Continue(ref opt_label) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | ast::ExprKind::Break(ref opt_label, ref opt_expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | ast::ExprKind::Yield(ref opt_expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | ast::ExprKind::Closure(capture, ref is_async, movability, ref fn_decl, ref body, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | ast::ExprKind::Try(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | | ast::ExprKind::Field(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | | ast::ExprKind::MethodCall(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:214:11 [INFO] [stdout] | [INFO] [stdout] 214 | | ast::ExprKind::Await(_) => rewrite_chain(expr, context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | ast::ExprKind::MacCall(ref mac) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | ast::ExprKind::Ret(None) => Some("return".to_owned()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | ast::ExprKind::Ret(Some(ref expr)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | ast::ExprKind::Box(ref expr) => rewrite_unary_prefix(context, "box ", &**expr, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | ast::ExprKind::AddrOf(borrow_kind, mutability, ref expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | ast::ExprKind::Cast(ref expr, ref ty) => rewrite_pair( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | ast::ExprKind::Type(ref expr, ref ty) => rewrite_pair( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | ast::ExprKind::Index(ref expr, ref index) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | ast::ExprKind::Repeat(ref expr, ref repeats) => rewrite_pair( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | ast::ExprKind::Range(ref lhs, ref rhs, limits) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | ast::RangeLimits::HalfOpen => "..", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | ast::RangeLimits::Closed => "..=", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:265:77 [INFO] [stdout] | [INFO] [stdout] 265 | fn needs_space_before_range(context: &RewriteContext<'_>, lhs: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | ast::ExprKind::Lit(ref lit) => match lit.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | ast::LitKind::Float(_, ast::LitFloatType::Unsuffixed) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:268:48 [INFO] [stdout] | [INFO] [stdout] 268 | ast::LitKind::Float(_, ast::LitFloatType::Unsuffixed) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | ast::ExprKind::Unary(_, ref expr) => needs_space_before_range(context, expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:278:46 [INFO] [stdout] | [INFO] [stdout] 278 | fn needs_space_after_range(rhs: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:284:36 [INFO] [stdout] | [INFO] [stdout] 284 | matches!(rhs.kind, ast::ExprKind::Range(None, _, _)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:287:50 [INFO] [stdout] | [INFO] [stdout] 287 | let default_sp_delim = |lhs: Option<&ast::Expr>, rhs: Option<&ast::Expr>| { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:287:75 [INFO] [stdout] | [INFO] [stdout] 287 | let default_sp_delim = |lhs: Option<&ast::Expr>, rhs: Option<&ast::Expr>| { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | ast::ExprKind::InlineAsm(..) => Some(context.snippet(expr.span).to_owned()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | ast::ExprKind::TryBlock(ref block) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | ast::ExprKind::Async(capture_by, _node_id, ref block) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:360:42 [INFO] [stdout] | [INFO] [stdout] 360 | let mover = if capture_by == ast::CaptureBy::Value { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | ast::ExprKind::Underscore => Some("_".to_owned()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | ast::ExprKind::Err => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:431:21 [INFO] [stdout] | [INFO] [stdout] 431 | attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 432 | label: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:466:55 [INFO] [stdout] | [INFO] [stdout] 466 | fn block_prefix(context: &RewriteContext<'_>, block: &ast::Block, shape: Shape) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | ast::BlockCheckMode::Unsafe(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | ast::BlockCheckMode::Default => String::new(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:498:21 [INFO] [stdout] | [INFO] [stdout] 498 | attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:499:19 [INFO] [stdout] | [INFO] [stdout] 499 | label: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:518:21 [INFO] [stdout] | [INFO] [stdout] 518 | attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | label: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:531:10 [INFO] [stdout] | [INFO] [stdout] 531 | (ast::BlockCheckMode::Unsafe(..), _) | (ast::BlockCheckMode::Default, Some(_)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:531:49 [INFO] [stdout] | [INFO] [stdout] 531 | (ast::BlockCheckMode::Unsafe(..), _) | (ast::BlockCheckMode::Default, Some(_)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:536:10 [INFO] [stdout] | [INFO] [stdout] 536 | (ast::BlockCheckMode::Default, None) => visitor.last_pos = block.span.lo(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:550:18 [INFO] [stdout] | [INFO] [stdout] 550 | impl Rewrite for ast::Block { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:557:13 [INFO] [stdout] | [INFO] [stdout] 557 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:559:19 [INFO] [stdout] | [INFO] [stdout] 559 | label: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:592:9 [INFO] [stdout] | [INFO] [stdout] 592 | ast::ExprKind::Match(ref cond, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:613:22 [INFO] [stdout] | [INFO] [stdout] 613 | cond: Option<&'a ast::Expr>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:614:16 [INFO] [stdout] | [INFO] [stdout] 614 | block: &'a ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:615:28 [INFO] [stdout] | [INFO] [stdout] 615 | else_block: Option<&'a ast::Expr>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:616:19 [INFO] [stdout] | [INFO] [stdout] 616 | label: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | pat: Option<&'a ast::Pat>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:627:33 [INFO] [stdout] | [INFO] [stdout] 627 | fn extract_pats_and_cond(expr: &ast::Expr) -> (Option<&ast::Pat>, &ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:627:56 [INFO] [stdout] | [INFO] [stdout] 627 | fn extract_pats_and_cond(expr: &ast::Expr) -> (Option<&ast::Pat>, &ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:627:68 [INFO] [stdout] | [INFO] [stdout] 627 | fn extract_pats_and_cond(expr: &ast::Expr) -> (Option<&ast::Pat>, &ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | ast::ExprKind::Let(ref pat, ref cond, _) => (Some(pat), cond), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:635:27 [INFO] [stdout] | [INFO] [stdout] 635 | fn to_control_flow(expr: &ast::Expr, expr_type: ExprType) -> Option> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | ast::ExprKind::If(ref cond, ref if_block, ref else_block) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | ast::ExprKind::ForLoop(ref pat, ref cond, ref block, label) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | ast::ExprKind::Loop(ref block, label) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | ast::ExprKind::While(ref cond, ref block, label) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:663:32 [INFO] [stdout] | [INFO] [stdout] 663 | fn choose_matcher(pat: Option<&ast::Pat>) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:669:19 [INFO] [stdout] | [INFO] [stdout] 669 | cond: &'a ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:670:25 [INFO] [stdout] | [INFO] [stdout] 670 | pat: Option<&'a ast::Pat>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:671:20 [INFO] [stdout] | [INFO] [stdout] 671 | block: &'a ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:672:32 [INFO] [stdout] | [INFO] [stdout] 672 | else_block: Option<&'a ast::Expr>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:693:28 [INFO] [stdout] | [INFO] [stdout] 693 | fn new_loop(block: &'a ast::Block, label: Option, span: Span) -> ControlFlow<'a> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:693:54 [INFO] [stdout] | [INFO] [stdout] 693 | fn new_loop(block: &'a ast::Block, label: Option, span: Span) -> ControlFlow<'a> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:710:25 [INFO] [stdout] | [INFO] [stdout] 710 | pat: Option<&'a ast::Pat>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:711:19 [INFO] [stdout] | [INFO] [stdout] 711 | cond: &'a ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:712:20 [INFO] [stdout] | [INFO] [stdout] 712 | block: &'a ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:713:23 [INFO] [stdout] | [INFO] [stdout] 713 | label: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:733:18 [INFO] [stdout] | [INFO] [stdout] 733 | pat: &'a ast::Pat, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:734:19 [INFO] [stdout] | [INFO] [stdout] 734 | cond: &'a ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:735:20 [INFO] [stdout] | [INFO] [stdout] 735 | block: &'a ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:736:23 [INFO] [stdout] | [INFO] [stdout] 736 | label: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:764:16 [INFO] [stdout] | [INFO] [stdout] 764 | if let ast::ExprKind::Block(ref else_node, _) = else_block.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:816:16 [INFO] [stdout] | [INFO] [stdout] 816 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1032:17 [INFO] [stdout] | [INFO] [stdout] 1032 | ast::ExprKind::If(ref cond, ref if_block, ref next_else_block) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1099:36 [INFO] [stdout] | [INFO] [stdout] 1099 | fn rewrite_label(opt_label: Option) -> Cow<'static, str> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1117:76 [INFO] [stdout] | [INFO] [stdout] 1117 | pub(crate) fn block_contains_comment(context: &RewriteContext<'_>, block: &ast::Block) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1127:13 [INFO] [stdout] | [INFO] [stdout] 1127 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1128:21 [INFO] [stdout] | [INFO] [stdout] 1128 | attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1140:13 [INFO] [stdout] | [INFO] [stdout] 1140 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1141:21 [INFO] [stdout] | [INFO] [stdout] 1141 | attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1148:33 [INFO] [stdout] | [INFO] [stdout] 1148 | fn block_has_statements(block: &ast::Block) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1152:42 [INFO] [stdout] | [INFO] [stdout] 1152 | .any(|stmt| !matches!(stmt.kind, ast::StmtKind::Empty)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1159:13 [INFO] [stdout] | [INFO] [stdout] 1159 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1160:21 [INFO] [stdout] | [INFO] [stdout] 1160 | attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1167:35 [INFO] [stdout] | [INFO] [stdout] 1167 | pub(crate) fn stmt_is_expr(stmt: &ast::Stmt) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1168:25 [INFO] [stdout] | [INFO] [stdout] 1168 | matches!(stmt.kind, ast::StmtKind::Expr(..)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1171:39 [INFO] [stdout] | [INFO] [stdout] 1171 | pub(crate) fn is_unsafe_block(block: &ast::Block) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1172:27 [INFO] [stdout] | [INFO] [stdout] 1172 | matches!(block.rules, ast::BlockCheckMode::Unsafe(..)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | l: &ast::Lit, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | ast::LitKind::Str(_, ast::StrStyle::Cooked) => rewrite_string_lit(context, l.span, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1181:30 [INFO] [stdout] | [INFO] [stdout] 1181 | ast::LitKind::Str(_, ast::StrStyle::Cooked) => rewrite_string_lit(context, l.span, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1182:9 [INFO] [stdout] | [INFO] [stdout] 1182 | ast::LitKind::Int(..) => rewrite_int_lit(context, l, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1217:56 [INFO] [stdout] | [INFO] [stdout] 1217 | fn rewrite_int_lit(context: &RewriteContext<'_>, lit: &ast::Lit, shape: Shape) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/expr.rs:1262:13 [INFO] [stdout] | [INFO] [stdout] 1262 | args: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1262:20 [INFO] [stdout] | [INFO] [stdout] 1262 | args: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1277:37 [INFO] [stdout] | [INFO] [stdout] 1277 | pub(crate) fn is_simple_expr(expr: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | ast::ExprKind::Lit(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1280:9 [INFO] [stdout] | [INFO] [stdout] 1280 | ast::ExprKind::Path(ref qself, ref path) => qself.is_none() && path.segments.len() <= 1, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1281:9 [INFO] [stdout] | [INFO] [stdout] 1281 | ast::ExprKind::AddrOf(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1282:11 [INFO] [stdout] | [INFO] [stdout] 1282 | | ast::ExprKind::Box(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1283:11 [INFO] [stdout] | [INFO] [stdout] 1283 | | ast::ExprKind::Cast(ref expr, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1284:11 [INFO] [stdout] | [INFO] [stdout] 1284 | | ast::ExprKind::Field(ref expr, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1285:11 [INFO] [stdout] | [INFO] [stdout] 1285 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1286:11 [INFO] [stdout] | [INFO] [stdout] 1286 | | ast::ExprKind::Unary(_, ref expr) => is_simple_expr(expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | ast::ExprKind::Index(ref lhs, ref rhs) => is_simple_expr(lhs) && is_simple_expr(rhs), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | ast::ExprKind::Repeat(ref lhs, ref rhs) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1301:12 [INFO] [stdout] | [INFO] [stdout] 1301 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1306:9 [INFO] [stdout] | [INFO] [stdout] 1306 | ast::ExprKind::Match(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1311:9 [INFO] [stdout] | [INFO] [stdout] 1311 | ast::ExprKind::If(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1312:11 [INFO] [stdout] | [INFO] [stdout] 1312 | | ast::ExprKind::ForLoop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1313:11 [INFO] [stdout] | [INFO] [stdout] 1313 | | ast::ExprKind::Loop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1314:11 [INFO] [stdout] | [INFO] [stdout] 1314 | | ast::ExprKind::While(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1319:9 [INFO] [stdout] | [INFO] [stdout] 1319 | ast::ExprKind::Async(..) | ast::ExprKind::Block(..) | ast::ExprKind::Closure(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1319:36 [INFO] [stdout] | [INFO] [stdout] 1319 | ast::ExprKind::Async(..) | ast::ExprKind::Block(..) | ast::ExprKind::Closure(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1319:63 [INFO] [stdout] | [INFO] [stdout] 1319 | ast::ExprKind::Async(..) | ast::ExprKind::Block(..) | ast::ExprKind::Closure(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1322:9 [INFO] [stdout] | [INFO] [stdout] 1322 | ast::ExprKind::Array(..) | ast::ExprKind::Struct(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1322:36 [INFO] [stdout] | [INFO] [stdout] 1322 | ast::ExprKind::Array(..) | ast::ExprKind::Struct(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1326:9 [INFO] [stdout] | [INFO] [stdout] 1326 | ast::ExprKind::MacCall(ref mac) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1331:23 [INFO] [stdout] | [INFO] [stdout] 1331 | (Some(ast::MacDelimiter::Bracket), true) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1332:25 [INFO] [stdout] | [INFO] [stdout] 1332 | | (Some(ast::MacDelimiter::Brace), true) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1338:9 [INFO] [stdout] | [INFO] [stdout] 1338 | ast::ExprKind::Call(..) | ast::ExprKind::MethodCall(..) | ast::ExprKind::Tup(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1338:35 [INFO] [stdout] | [INFO] [stdout] 1338 | ast::ExprKind::Call(..) | ast::ExprKind::MethodCall(..) | ast::ExprKind::Tup(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1338:67 [INFO] [stdout] | [INFO] [stdout] 1338 | ast::ExprKind::Call(..) | ast::ExprKind::MethodCall(..) | ast::ExprKind::Tup(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1343:9 [INFO] [stdout] | [INFO] [stdout] 1343 | ast::ExprKind::AddrOf(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1344:11 [INFO] [stdout] | [INFO] [stdout] 1344 | | ast::ExprKind::Box(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1345:11 [INFO] [stdout] | [INFO] [stdout] 1345 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1346:11 [INFO] [stdout] | [INFO] [stdout] 1346 | | ast::ExprKind::Unary(_, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1347:11 [INFO] [stdout] | [INFO] [stdout] 1347 | | ast::ExprKind::Cast(ref expr, _) => can_be_overflowed_expr(context, expr, args_len), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1352:37 [INFO] [stdout] | [INFO] [stdout] 1352 | pub(crate) fn is_nested_call(expr: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1354:9 [INFO] [stdout] | [INFO] [stdout] 1354 | ast::ExprKind::Call(..) | ast::ExprKind::MacCall(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1354:35 [INFO] [stdout] | [INFO] [stdout] 1354 | ast::ExprKind::Call(..) | ast::ExprKind::MacCall(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1355:9 [INFO] [stdout] | [INFO] [stdout] 1355 | ast::ExprKind::AddrOf(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1356:11 [INFO] [stdout] | [INFO] [stdout] 1356 | | ast::ExprKind::Box(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1357:11 [INFO] [stdout] | [INFO] [stdout] 1357 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1358:11 [INFO] [stdout] | [INFO] [stdout] 1358 | | ast::ExprKind::Unary(_, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1359:11 [INFO] [stdout] | [INFO] [stdout] 1359 | | ast::ExprKind::Cast(ref expr, _) => is_nested_call(expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1389:19 [INFO] [stdout] | [INFO] [stdout] 1389 | mut subexpr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1409:16 [INFO] [stdout] | [INFO] [stdout] 1409 | if let ast::ExprKind::Paren(ref subsubexpr) = subexpr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1433:15 [INFO] [stdout] | [INFO] [stdout] 1433 | subexpr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1463:12 [INFO] [stdout] | [INFO] [stdout] 1463 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1464:13 [INFO] [stdout] | [INFO] [stdout] 1464 | index: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1517:40 [INFO] [stdout] | [INFO] [stdout] 1517 | fn struct_lit_can_be_aligned(fields: &[ast::ExprField], has_base: bool) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1523:12 [INFO] [stdout] | [INFO] [stdout] 1523 | path: &ast::Path, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1524:20 [INFO] [stdout] | [INFO] [stdout] 1524 | qself: Option<&ast::QSelf>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1525:18 [INFO] [stdout] | [INFO] [stdout] 1525 | fields: &'a [ast::ExprField], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1526:19 [INFO] [stdout] | [INFO] [stdout] 1526 | struct_rest: &ast::StructRest, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1527:14 [INFO] [stdout] | [INFO] [stdout] 1527 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1534:21 [INFO] [stdout] | [INFO] [stdout] 1534 | Regular(&'a ast::ExprField), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1535:18 [INFO] [stdout] | [INFO] [stdout] 1535 | Base(&'a ast::Expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1544:9 [INFO] [stdout] | [INFO] [stdout] 1544 | ast::StructRest::None if fields.is_empty() => return Some(format!("{} {{}}", path_str)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1545:9 [INFO] [stdout] | [INFO] [stdout] 1545 | ast::StructRest::Rest(_) if fields.is_empty() => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1548:9 [INFO] [stdout] | [INFO] [stdout] 1548 | ast::StructRest::Rest(_) | ast::StructRest::Base(_) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1548:36 [INFO] [stdout] | [INFO] [stdout] 1548 | ast::StructRest::Rest(_) | ast::StructRest::Base(_) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1570:17 [INFO] [stdout] | [INFO] [stdout] 1570 | ast::StructRest::Base(expr) => Some(StructLitField::Base(&**expr)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1571:17 [INFO] [stdout] | [INFO] [stdout] 1571 | ast::StructRest::Rest(span) => Some(StructLitField::Rest(*span)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1572:17 [INFO] [stdout] | [INFO] [stdout] 1572 | ast::StructRest::None => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1645:14 [INFO] [stdout] | [INFO] [stdout] 1645 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1687:13 [INFO] [stdout] | [INFO] [stdout] 1687 | field: &ast::ExprField, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1846:9 [INFO] [stdout] | [INFO] [stdout] 1846 | op: ast::UnOp, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1847:12 [INFO] [stdout] | [INFO] [stdout] 1847 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1851:35 [INFO] [stdout] | [INFO] [stdout] 1851 | rewrite_unary_prefix(context, ast::UnOp::to_string(op), expr, shape) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1855:16 [INFO] [stdout] | [INFO] [stdout] 1855 | Expr(&'ast ast::ExprKind, Span), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1871:21 [INFO] [stdout] | [INFO] [stdout] 1871 | ast::ExprKind::Try(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1872:27 [INFO] [stdout] | [INFO] [stdout] 1872 | | ast::ExprKind::Field(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1873:27 [INFO] [stdout] | [INFO] [stdout] 1873 | | ast::ExprKind::MethodCall(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1874:27 [INFO] [stdout] | [INFO] [stdout] 1874 | | ast::ExprKind::Await(_) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1884:11 [INFO] [stdout] | [INFO] [stdout] 1884 | lhs: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1885:11 [INFO] [stdout] | [INFO] [stdout] 1885 | rhs: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:1886:17 [INFO] [stdout] | [INFO] [stdout] 1886 | op: Option<&ast::BinOp>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2099:18 [INFO] [stdout] | [INFO] [stdout] 2099 | borrow_kind: ast::BorrowKind, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2100:17 [INFO] [stdout] | [INFO] [stdout] 2100 | mutability: ast::Mutability, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2101:12 [INFO] [stdout] | [INFO] [stdout] 2101 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2105:10 [INFO] [stdout] | [INFO] [stdout] 2105 | (ast::Mutability::Not, ast::BorrowKind::Ref) => "&", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2105:32 [INFO] [stdout] | [INFO] [stdout] 2105 | (ast::Mutability::Not, ast::BorrowKind::Ref) => "&", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2106:10 [INFO] [stdout] | [INFO] [stdout] 2106 | (ast::Mutability::Not, ast::BorrowKind::Raw) => "&raw const ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2106:32 [INFO] [stdout] | [INFO] [stdout] 2106 | (ast::Mutability::Not, ast::BorrowKind::Raw) => "&raw const ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2107:10 [INFO] [stdout] | [INFO] [stdout] 2107 | (ast::Mutability::Mut, ast::BorrowKind::Ref) => "&mut ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2107:32 [INFO] [stdout] | [INFO] [stdout] 2107 | (ast::Mutability::Mut, ast::BorrowKind::Ref) => "&mut ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2108:10 [INFO] [stdout] | [INFO] [stdout] 2108 | (ast::Mutability::Mut, ast::BorrowKind::Raw) => "&raw mut ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2108:32 [INFO] [stdout] | [INFO] [stdout] 2108 | (ast::Mutability::Mut, ast::BorrowKind::Raw) => "&raw mut ", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2113:37 [INFO] [stdout] | [INFO] [stdout] 2113 | pub(crate) fn is_method_call(expr: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2115:9 [INFO] [stdout] | [INFO] [stdout] 2115 | ast::ExprKind::MethodCall(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2116:9 [INFO] [stdout] | [INFO] [stdout] 2116 | ast::ExprKind::AddrOf(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2117:11 [INFO] [stdout] | [INFO] [stdout] 2117 | | ast::ExprKind::Box(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2118:11 [INFO] [stdout] | [INFO] [stdout] 2118 | | ast::ExprKind::Cast(ref expr, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2119:11 [INFO] [stdout] | [INFO] [stdout] 2119 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/expr.rs:2120:11 [INFO] [stdout] | [INFO] [stdout] 2120 | | ast::ExprKind::Unary(_, ref expr) => is_method_call(expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/formatting.rs:168:16 [INFO] [stdout] | [INFO] [stdout] 168 | krate: &'a ast::Crate, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn path_to_imported_ident(path: &ast::Path) -> symbol::Ident { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/imports.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn path_to_imported_ident(path: &ast::Path) -> symbol::Ident { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn format_import(&mut self, item: &ast::Item, tree: &ast::UseTree) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:31:69 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn format_import(&mut self, item: &ast::Item, tree: &ast::UseTree) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | visibility: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | attrs: Option>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | path_seg: &ast::PathSegment, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:329:16 [INFO] [stdout] | [INFO] [stdout] 329 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | ast::ItemKind::Use(ref use_tree) => Some( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:353:13 [INFO] [stdout] | [INFO] [stdout] 353 | a: &ast::UseTree, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:355:28 [INFO] [stdout] | [INFO] [stdout] 355 | visibility: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:357:27 [INFO] [stdout] | [INFO] [stdout] 357 | attrs: Option>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseTreeKind` [INFO] [stdout] --> src/imports.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | UseTreeKind::Glob => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseTreeKind` [INFO] [stdout] --> src/imports.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | UseTreeKind::Nested(ref list) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseTreeKind` [INFO] [stdout] --> src/imports.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | UseTreeKind::Simple(ref rename, ..) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UseTreeKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/imports.rs:433:38 [INFO] [stdout] | [INFO] [stdout] 433 | if ident.name == sym::underscore_imports { [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:547:22 [INFO] [stdout] | [INFO] [stdout] 547 | Some(ast::Visibility { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:548:27 [INFO] [stdout] | [INFO] [stdout] 548 | kind: ast::VisibilityKind::Inherited, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:555:22 [INFO] [stdout] | [INFO] [stdout] 555 | Some(ast::Visibility { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/imports.rs:556:27 [INFO] [stdout] | [INFO] [stdout] 556 | kind: ast::VisibilityKind::Inherited, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | const DEFAULT_VISIBILITY: ast::Visibility = ast::Visibility { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | const DEFAULT_VISIBILITY: ast::Visibility = ast::Visibility { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | kind: ast::VisibilityKind::Inherited, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | impl Rewrite for ast::Local { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:57:62 [INFO] [stdout] | [INFO] [stdout] 57 | if contains_skip(&self.attrs) || matches!(self.kind, ast::LocalKind::InitElse(..)) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | unsafety: ast::Unsafe, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | vis: Option<&'a ast::Visibility>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:147:33 [INFO] [stdout] | [INFO] [stdout] 147 | fn from_foreign_mod(fm: &'a ast::ForeignMod, span: Span, config: &Config) -> Item<'a> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | ast::Extern::from_abi(fm.abi), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | ForeignItem(&'a ast::ForeignItem), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | decl: &'a ast::FnDecl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 178 | generics: &'a ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | ext: ast::Extern, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | is_async: Cow<'a, ast::Async>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | constness: ast::Const, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:182:18 [INFO] [stdout] | [INFO] [stdout] 182 | defaultness: ast::Defaultness, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | unsafety: ast::Unsafe, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | visibility: &'a ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | method_sig: &'a ast::FnSig, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | generics: &'a ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:191:25 [INFO] [stdout] | [INFO] [stdout] 191 | visibility: &'a ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:197:26 [INFO] [stdout] | [INFO] [stdout] 197 | defaultness: ast::Defaultness::Final, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/items.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | fn_kind: &'a visit::FnKind<'_>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:207:23 [INFO] [stdout] | [INFO] [stdout] 207 | generics: &'a ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | decl: &'a ast::FnDecl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | defaultness: ast::Defaultness, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/items.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | visit::FnKind::Fn(fn_ctxt, _, fn_sig, vis, _) => match fn_ctxt { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/items.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | visit::FnCtxt::Assoc(..) => { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:287:54 [INFO] [stdout] | [INFO] [stdout] 287 | pub(crate) fn format_foreign_mod(&mut self, fm: &ast::ForeignMod, span: Span) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:292:46 [INFO] [stdout] | [INFO] [stdout] 292 | fn format_foreign_item(&mut self, item: &ast::ForeignItem) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:331:16 [INFO] [stdout] | [INFO] [stdout] 331 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 332 | sig: &ast::FnSig, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:333:15 [INFO] [stdout] | [INFO] [stdout] 333 | vis: &ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | generics: &ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | block: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | inner_attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | ast::VariantData::Tuple(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:413:16 [INFO] [stdout] | [INFO] [stdout] 413 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:414:15 [INFO] [stdout] | [INFO] [stdout] 414 | vis: &ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:415:20 [INFO] [stdout] | [INFO] [stdout] 415 | enum_def: &ast::EnumDef, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:416:20 [INFO] [stdout] | [INFO] [stdout] 416 | generics: &ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:457:20 [INFO] [stdout] | [INFO] [stdout] 457 | enum_def: &ast::EnumDef, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:541:17 [INFO] [stdout] | [INFO] [stdout] 541 | field: &ast::Variant, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | ast::VariantData::Tuple(..) | ast::VariantData::Struct(..) => format_struct( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:562:43 [INFO] [stdout] | [INFO] [stdout] 562 | ast::VariantData::Tuple(..) | ast::VariantData::Struct(..) => format_struct( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:568:13 [INFO] [stdout] | [INFO] [stdout] 568 | ast::VariantData::Unit(..) => rewrite_ident(&context, field.ident).to_owned(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/items.rs:589:45 [INFO] [stdout] | [INFO] [stdout] 589 | fn visit_impl_items(&mut self, items: &[ptr::P]) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:589:52 [INFO] [stdout] | [INFO] [stdout] 589 | fn visit_impl_items(&mut self, items: &[ptr::P]) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/items.rs:591:33 [INFO] [stdout] | [INFO] [stdout] 591 | type TyOpt = Option>; [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:591:40 [INFO] [stdout] | [INFO] [stdout] 591 | type TyOpt = Option>; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:597:40 [INFO] [stdout] | [INFO] [stdout] 597 | let need_empty_line = |a: &ast::AssocItemKind, b: &ast::AssocItemKind| match (a, b) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:597:64 [INFO] [stdout] | [INFO] [stdout] 597 | let need_empty_line = |a: &ast::AssocItemKind, b: &ast::AssocItemKind| match (a, b) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | iimpl: &ast::Impl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | let ast::Impl { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:770:42 [INFO] [stdout] | [INFO] [stdout] 770 | visitor.visit_attrs(&item.attrs, ast::AttrStyle::Inner); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/items.rs:792:14 [INFO] [stdout] | [INFO] [stdout] 792 | items: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:792:21 [INFO] [stdout] | [INFO] [stdout] 792 | items: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:795:12 [INFO] [stdout] | [INFO] [stdout] 795 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:811:12 [INFO] [stdout] | [INFO] [stdout] 811 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | iimpl: &ast::Impl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | let ast::Impl { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:845:9 [INFO] [stdout] | [INFO] [stdout] 845 | ast::ImplPolarity::Negative(_) => "!", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | ast::ImplPolarity::Positive => "", [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:916:17 [INFO] [stdout] | [INFO] [stdout] 916 | trait_ref: &ast::TraitRef, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:943:12 [INFO] [stdout] | [INFO] [stdout] 943 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:944:14 [INFO] [stdout] | [INFO] [stdout] 944 | vis: &'a ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:945:14 [INFO] [stdout] | [INFO] [stdout] 945 | def: &'a ast::VariantData, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:946:26 [INFO] [stdout] | [INFO] [stdout] 946 | generics: Option<&'a ast::Generics>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:955:34 [INFO] [stdout] | [INFO] [stdout] 955 | fn from_variant(variant: &'a ast::Variant) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:966:39 [INFO] [stdout] | [INFO] [stdout] 966 | pub(crate) fn from_item(item: &'a ast::Item) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:968:13 [INFO] [stdout] | [INFO] [stdout] 968 | ast::ItemKind::Struct(ref def, ref generics) => ("struct ", def, generics), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:969:13 [INFO] [stdout] | [INFO] [stdout] 969 | ast::ItemKind::Union(ref def, ref generics) => ("union ", def, generics), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | ast::VariantData::Unit(..) => format_unit_struct(context, struct_parts, offset), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:991:9 [INFO] [stdout] | [INFO] [stdout] 991 | ast::VariantData::Tuple(ref fields, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | ast::VariantData::Struct(ref fields, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1002:12 [INFO] [stdout] | [INFO] [stdout] 1002 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1005:12 [INFO] [stdout] | [INFO] [stdout] 1005 | if let ast::ItemKind::Trait(trait_kind) = &item.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1006:13 [INFO] [stdout] | [INFO] [stdout] 1006 | let ast::Trait { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1170:25 [INFO] [stdout] | [INFO] [stdout] 1170 | generic_bounds: &'a ast::GenericBounds, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1171:19 [INFO] [stdout] | [INFO] [stdout] 1171 | generics: &'a ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:1211:12 [INFO] [stdout] | [INFO] [stdout] 1211 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1212:11 [INFO] [stdout] | [INFO] [stdout] 1212 | vis: &ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1213:16 [INFO] [stdout] | [INFO] [stdout] 1213 | generics: &ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1214:22 [INFO] [stdout] | [INFO] [stdout] 1214 | generic_bounds: &ast::GenericBounds, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1265:15 [INFO] [stdout] | [INFO] [stdout] 1265 | fields: &[ast::FieldDef], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1363:39 [INFO] [stdout] | [INFO] [stdout] 1363 | fn get_bytepos_after_visibility(vis: &ast::Visibility, default_span: Span) -> BytePos { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1365:9 [INFO] [stdout] | [INFO] [stdout] 1365 | ast::VisibilityKind::Crate(..) | ast::VisibilityKind::Restricted { .. } => vis.span.hi(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1365:42 [INFO] [stdout] | [INFO] [stdout] 1365 | ast::VisibilityKind::Crate(..) | ast::VisibilityKind::Restricted { .. } => vis.span.hi(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1412:15 [INFO] [stdout] | [INFO] [stdout] 1412 | fields: &[ast::FieldDef], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1510:14 [INFO] [stdout] | [INFO] [stdout] 1510 | Item(&'a ast::Item), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1511:24 [INFO] [stdout] | [INFO] [stdout] 1511 | AssocTraitItem(&'a ast::AssocItem), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1512:23 [INFO] [stdout] | [INFO] [stdout] 1512 | AssocImplItem(&'a ast::AssocItem), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1513:21 [INFO] [stdout] | [INFO] [stdout] 1513 | ForeignItem(&'a ast::ForeignItem), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1519:9 [INFO] [stdout] | [INFO] [stdout] 1519 | &'g ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1520:6 [INFO] [stdout] | [INFO] [stdout] 1520 | (ast::TyAliasWhereClause, ast::TyAliasWhereClause), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1520:31 [INFO] [stdout] | [INFO] [stdout] 1520 | (ast::TyAliasWhereClause, ast::TyAliasWhereClause), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:1522:5 [INFO] [stdout] | [INFO] [stdout] 1522 | symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1527:21 [INFO] [stdout] | [INFO] [stdout] 1527 | ty_alias_kind: &ast::TyAlias, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1535:9 [INFO] [stdout] | [INFO] [stdout] 1535 | let ast::TyAlias { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1579:17 [INFO] [stdout] | [INFO] [stdout] 1579 | ast::Defaultness::Default(..) => Some(format!("default {}", result)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1588:33 [INFO] [stdout] | [INFO] [stdout] 1588 | generic_bounds_opt: Option<&ast::GenericBounds>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1590:11 [INFO] [stdout] | [INFO] [stdout] 1590 | vis: &ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1706:13 [INFO] [stdout] | [INFO] [stdout] 1706 | field: &ast::FieldDef, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1721:18 [INFO] [stdout] | [INFO] [stdout] 1721 | impl Rewrite for ast::FieldDef { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1729:13 [INFO] [stdout] | [INFO] [stdout] 1729 | field: &ast::FieldDef, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1793:14 [INFO] [stdout] | [INFO] [stdout] 1793 | vis: &'a ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:1794:12 [INFO] [stdout] | [INFO] [stdout] 1794 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1795:13 [INFO] [stdout] | [INFO] [stdout] 1795 | ty: &'a ast::Ty, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1796:17 [INFO] [stdout] | [INFO] [stdout] 1796 | mutability: ast::Mutability, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/items.rs:1797:26 [INFO] [stdout] | [INFO] [stdout] 1797 | expr_opt: Option<&'a ptr::P>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1797:33 [INFO] [stdout] | [INFO] [stdout] 1797 | expr_opt: Option<&'a ptr::P>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1798:25 [INFO] [stdout] | [INFO] [stdout] 1798 | defaultness: Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1803:39 [INFO] [stdout] | [INFO] [stdout] 1803 | pub(crate) fn from_item(item: &'a ast::Item) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1805:13 [INFO] [stdout] | [INFO] [stdout] 1805 | ast::ItemKind::Static(ref ty, mutability, ref expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1808:13 [INFO] [stdout] | [INFO] [stdout] 1808 | ast::ItemKind::Const(defaultness, ref ty, ref expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1809:50 [INFO] [stdout] | [INFO] [stdout] 1809 | (Some(defaultness), "const", ty, ast::Mutability::Not, expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1825:43 [INFO] [stdout] | [INFO] [stdout] 1825 | pub(crate) fn from_trait_item(ti: &'a ast::AssocItem) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1827:13 [INFO] [stdout] | [INFO] [stdout] 1827 | ast::AssocItemKind::Const(defaultness, ref ty, ref expr_opt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1837:25 [INFO] [stdout] | [INFO] [stdout] 1837 | mutability: ast::Mutability::Not, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1844:42 [INFO] [stdout] | [INFO] [stdout] 1844 | pub(crate) fn from_impl_item(ii: &'a ast::AssocItem) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1846:13 [INFO] [stdout] | [INFO] [stdout] 1846 | ast::AssocItemKind::Const(defaultness, ref ty, ref expr) => (defaultness, ty, expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1854:25 [INFO] [stdout] | [INFO] [stdout] 1854 | mutability: ast::Mutability::Not, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1929:17 [INFO] [stdout] | [INFO] [stdout] 1929 | bounds: &'a ast::GenericBounds, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1941:18 [INFO] [stdout] | [INFO] [stdout] 1941 | impl Rewrite for ast::FnRetTy { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1944:13 [INFO] [stdout] | [INFO] [stdout] 1944 | ast::FnRetTy::Default(_) => Some(String::new()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1945:13 [INFO] [stdout] | [INFO] [stdout] 1945 | ast::FnRetTy::Ty(ref ty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1962:24 [INFO] [stdout] | [INFO] [stdout] 1962 | fn is_empty_infer(ty: &ast::Ty, pat_span: Span) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:1964:9 [INFO] [stdout] | [INFO] [stdout] 1964 | ast::TyKind::Infer => ty.span.hi() == pat_span.hi(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2005:18 [INFO] [stdout] | [INFO] [stdout] 2005 | impl Rewrite for ast::Param { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2094:21 [INFO] [stdout] | [INFO] [stdout] 2094 | explicit_self: &ast::ExplicitSelf, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2101:9 [INFO] [stdout] | [INFO] [stdout] 2101 | ast::SelfKind::Region(lt, m) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2128:9 [INFO] [stdout] | [INFO] [stdout] 2128 | ast::SelfKind::Explicit(ref ty, mutability) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2143:9 [INFO] [stdout] | [INFO] [stdout] 2143 | ast::SelfKind::Value(mutability) => Some(combine_strs_with_missing_comments( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2154:41 [INFO] [stdout] | [INFO] [stdout] 2154 | pub(crate) fn span_lo_for_param(param: &ast::Param) -> BytePos { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2166:71 [INFO] [stdout] | [INFO] [stdout] 2166 | pub(crate) fn span_hi_for_param(context: &RewriteContext<'_>, param: &ast::Param) -> BytePos { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2168:9 [INFO] [stdout] | [INFO] [stdout] 2168 | ast::TyKind::Infer if context.snippet(param.ty.span) == "_" => param.ty.span.hi(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2169:9 [INFO] [stdout] | [INFO] [stdout] 2169 | ast::TyKind::Infer if is_named_param(param) => param.pat.span.hi(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2174:38 [INFO] [stdout] | [INFO] [stdout] 2174 | pub(crate) fn is_named_param(param: &ast::Param) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2175:12 [INFO] [stdout] | [INFO] [stdout] 2175 | if let ast::PatKind::Ident(_, ident, _) = param.pat.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:2176:23 [INFO] [stdout] | [INFO] [stdout] 2176 | ident.name != symbol::kw::Empty [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:2193:12 [INFO] [stdout] | [INFO] [stdout] 2193 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2344:12 [INFO] [stdout] | [INFO] [stdout] 2344 | if let ast::FnRetTy::Ty(..) = fd.output { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2450:9 [INFO] [stdout] | [INFO] [stdout] 2450 | ast::FnRetTy::Default(..) => params_span.hi(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2451:9 [INFO] [stdout] | [INFO] [stdout] 2451 | ast::FnRetTy::Ty(ref ty) => ty.span.hi(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2480:16 [INFO] [stdout] | [INFO] [stdout] 2480 | if let ast::FnRetTy::Default(ret_span) = fd.output { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2566:15 [INFO] [stdout] | [INFO] [stdout] 2566 | params: &[ast::Param], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2694:54 [INFO] [stdout] | [INFO] [stdout] 2694 | fn newline_for_brace(config: &Config, where_clause: &ast::WhereClause) -> FnBraceStyle { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2714:16 [INFO] [stdout] | [INFO] [stdout] 2714 | generics: &ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2744:19 [INFO] [stdout] | [INFO] [stdout] 2744 | predicates: &[ast::WherePredicate], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2797:19 [INFO] [stdout] | [INFO] [stdout] 2797 | predicates: &[ast::WherePredicate], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2844:19 [INFO] [stdout] | [INFO] [stdout] 2844 | predicates: &[ast::WherePredicate], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2892:19 [INFO] [stdout] | [INFO] [stdout] 2892 | predicates: &[ast::WherePredicate], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:2993:19 [INFO] [stdout] | [INFO] [stdout] 2993 | predicates: &[ast::WherePredicate], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/items.rs:3021:12 [INFO] [stdout] | [INFO] [stdout] 3021 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3022:11 [INFO] [stdout] | [INFO] [stdout] 3022 | vis: &ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3063:16 [INFO] [stdout] | [INFO] [stdout] 3063 | generics: &ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3161:18 [INFO] [stdout] | [INFO] [stdout] 3161 | impl Rewrite for ast::ForeignItem { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3169:13 [INFO] [stdout] | [INFO] [stdout] 3169 | ast::ForeignItemKind::Fn(ref fn_kind) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3170:21 [INFO] [stdout] | [INFO] [stdout] 3170 | let ast::Fn { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/items.rs:3181:35 [INFO] [stdout] | [INFO] [stdout] 3181 | let fn_ctxt = visit::FnCtxt::Foreign; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/items.rs:3183:25 [INFO] [stdout] | [INFO] [stdout] 3183 | visit::FnKind::Fn(fn_ctxt, self.ident, sig, &self.vis, Some(body)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3203:13 [INFO] [stdout] | [INFO] [stdout] 3203 | ast::ForeignItemKind::Static(ref ty, mutability, _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3224:13 [INFO] [stdout] | [INFO] [stdout] 3224 | ast::ForeignItemKind::TyAlias(ref ty_alias) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3228:13 [INFO] [stdout] | [INFO] [stdout] 3228 | ast::ForeignItemKind::MacCall(ref mac) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3252:12 [INFO] [stdout] | [INFO] [stdout] 3252 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3287:12 [INFO] [stdout] | [INFO] [stdout] 3287 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3302:12 [INFO] [stdout] | [INFO] [stdout] 3302 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3317:34 [INFO] [stdout] | [INFO] [stdout] 3317 | pub(crate) fn is_mod_decl(item: &ast::Item) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3320:9 [INFO] [stdout] | [INFO] [stdout] 3320 | ast::ItemKind::Mod(_, ast::ModKind::Loaded(_, ast::Inline::Yes, _)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3320:31 [INFO] [stdout] | [INFO] [stdout] 3320 | ast::ItemKind::Mod(_, ast::ModKind::Loaded(_, ast::Inline::Yes, _)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3320:55 [INFO] [stdout] | [INFO] [stdout] 3320 | ast::ItemKind::Mod(_, ast::ModKind::Loaded(_, ast::Inline::Yes, _)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3324:34 [INFO] [stdout] | [INFO] [stdout] 3324 | pub(crate) fn is_use_item(item: &ast::Item) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3325:25 [INFO] [stdout] | [INFO] [stdout] 3325 | matches!(item.kind, ast::ItemKind::Use(_)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3328:38 [INFO] [stdout] | [INFO] [stdout] 3328 | pub(crate) fn is_extern_crate(item: &ast::Item) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/items.rs:3329:25 [INFO] [stdout] | [INFO] [stdout] 3329 | matches!(item.kind, ast::ItemKind::ExternCrate(..)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/macros.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | Expr(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | Expr(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/macros.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | Ty(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | Ty(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/macros.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Pat(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | Pat(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/macros.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | Item(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | Item(ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/macros.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Keyword(symbol::Ident, Span), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | impl Rewrite for ast::Item { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | path: &ast::Path, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/macros.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | extra_ident: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/macros.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | format!("{}!", pprust::path_to_string(path)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/macros.rs:106:38 [INFO] [stdout] | [INFO] [stdout] 106 | Some(ident) if ident.name != kw::Empty => format!("{} {}", name, ident), [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | mac: &ast::MacCall, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/macros.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | extra_ident: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:186:11 [INFO] [stdout] | [INFO] [stdout] 186 | mac: &ast::MacCall, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/macros.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | extra_ident: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | DelimToken::Bracket [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | DelimToken::Paren if position == MacroPosition::Item => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | DelimToken::Bracket if position == MacroPosition::Item => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | DelimToken::Paren => Some(format!("{}()", macro_name)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | DelimToken::Bracket => Some(format!("{}[]", macro_name)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | DelimToken::Brace => Some(format!("{} {{}}", macro_name)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | DelimToken::Paren => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | DelimToken::Bracket => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | DelimToken::Brace => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | DelimToken::Paren => ("(", ")"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | DelimToken::Bracket => ("[", "]"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:385:11 [INFO] [stdout] | [INFO] [stdout] 385 | def: &ast::MacroDef, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/macros.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | ident: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:387:11 [INFO] [stdout] | [INFO] [stdout] 387 | vis: &ast::Visibility, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:556:9 [INFO] [stdout] | [INFO] [stdout] 556 | DelimToken::Paren => ("(", ")"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | DelimToken::Bracket => ("[", "]"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:558:9 [INFO] [stdout] | [INFO] [stdout] 558 | DelimToken::Brace => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:565:9 [INFO] [stdout] | [INFO] [stdout] 565 | DelimToken::NoDelim => ("", ""), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:586:34 [INFO] [stdout] | [INFO] [stdout] 586 | MacroArgKind::Repeat(DelimToken::Brace, _, _, _) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:587:43 [INFO] [stdout] | [INFO] [stdout] 587 | | MacroArgKind::Delimited(DelimToken::Brace, _) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/macros.rs:639:34 [INFO] [stdout] | [INFO] [stdout] 639 | let repeat_tok = pprust::token_to_string(tok); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | TokenTree::Token(ref t) => t.clone(), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | TokenTree::Delimited(delim_span, delim, _) => Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:687:19 [INFO] [stdout] | [INFO] [stdout] 687 | kind: TokenKind::CloseDelim(delim), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:699:23 [INFO] [stdout] | [INFO] [stdout] 699 | kind: TokenKind::Eof, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:703:23 [INFO] [stdout] | [INFO] [stdout] 703 | kind: TokenKind::Eof, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:740:18 [INFO] [stdout] | [INFO] [stdout] 740 | Some(TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:741:23 [INFO] [stdout] | [INFO] [stdout] 741 | kind: TokenKind::Ident(name, _), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:780:17 [INFO] [stdout] | [INFO] [stdout] 780 | TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:781:27 [INFO] [stdout] | [INFO] [stdout] 781 | kind: TokenKind::BinOp(BinOpToken::Plus), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpToken` [INFO] [stdout] --> src/macros.rs:781:44 [INFO] [stdout] | [INFO] [stdout] 781 | kind: TokenKind::BinOp(BinOpToken::Plus), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BinOpToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:784:19 [INFO] [stdout] | [INFO] [stdout] 784 | | TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:785:27 [INFO] [stdout] | [INFO] [stdout] 785 | kind: TokenKind::Question, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:788:19 [INFO] [stdout] | [INFO] [stdout] 788 | | TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:789:27 [INFO] [stdout] | [INFO] [stdout] 789 | kind: TokenKind::BinOp(BinOpToken::Star), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpToken` [INFO] [stdout] --> src/macros.rs:789:44 [INFO] [stdout] | [INFO] [stdout] 789 | kind: TokenKind::BinOp(BinOpToken::Star), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BinOpToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:794:17 [INFO] [stdout] | [INFO] [stdout] 794 | TokenTree::Token(ref t) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/macros.rs:795:38 [INFO] [stdout] | [INFO] [stdout] 795 | buffer.push_str(&pprust::token_to_string(t)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/macros.rs:831:28 [INFO] [stdout] | [INFO] [stdout] 831 | self.buf.push_str(&pprust::token_to_string(t)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:844:39 [INFO] [stdout] | [INFO] [stdout] 844 | if self.start_tok.kind == TokenKind::Colon { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:862:17 [INFO] [stdout] | [INFO] [stdout] 862 | TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:863:27 [INFO] [stdout] | [INFO] [stdout] 863 | kind: TokenKind::Dollar, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:874:31 [INFO] [stdout] | [INFO] [stdout] 874 | kind: TokenKind::Dollar, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:878:17 [INFO] [stdout] | [INFO] [stdout] 878 | TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:879:27 [INFO] [stdout] | [INFO] [stdout] 879 | kind: TokenKind::Colon, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | TokenTree::Token(ref t) => self.update_buffer(t), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:885:17 [INFO] [stdout] | [INFO] [stdout] 885 | TokenTree::Delimited(_delimited_span, delimited, ref tts) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1006:9 [INFO] [stdout] | [INFO] [stdout] 1006 | TokenKind::Eq [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1007:11 [INFO] [stdout] | [INFO] [stdout] 1007 | | TokenKind::Lt [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1008:11 [INFO] [stdout] | [INFO] [stdout] 1008 | | TokenKind::Le [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1009:11 [INFO] [stdout] | [INFO] [stdout] 1009 | | TokenKind::EqEq [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1010:11 [INFO] [stdout] | [INFO] [stdout] 1010 | | TokenKind::Ne [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1011:11 [INFO] [stdout] | [INFO] [stdout] 1011 | | TokenKind::Ge [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1012:11 [INFO] [stdout] | [INFO] [stdout] 1012 | | TokenKind::Gt [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1013:11 [INFO] [stdout] | [INFO] [stdout] 1013 | | TokenKind::AndAnd [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1014:11 [INFO] [stdout] | [INFO] [stdout] 1014 | | TokenKind::OrOr [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1015:11 [INFO] [stdout] | [INFO] [stdout] 1015 | | TokenKind::Not [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1016:11 [INFO] [stdout] | [INFO] [stdout] 1016 | | TokenKind::Tilde [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1017:11 [INFO] [stdout] | [INFO] [stdout] 1017 | | TokenKind::BinOpEq(_) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1018:11 [INFO] [stdout] | [INFO] [stdout] 1018 | | TokenKind::At [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1019:11 [INFO] [stdout] | [INFO] [stdout] 1019 | | TokenKind::RArrow [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1020:11 [INFO] [stdout] | [INFO] [stdout] 1020 | | TokenKind::LArrow [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1021:11 [INFO] [stdout] | [INFO] [stdout] 1021 | | TokenKind::FatArrow [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1022:11 [INFO] [stdout] | [INFO] [stdout] 1022 | | TokenKind::BinOp(_) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1023:11 [INFO] [stdout] | [INFO] [stdout] 1023 | | TokenKind::Pound [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1024:11 [INFO] [stdout] | [INFO] [stdout] 1024 | | TokenKind::Dollar => true, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1032:9 [INFO] [stdout] | [INFO] [stdout] 1032 | TokenKind::Ident(..) | TokenKind::Literal(..) | TokenKind::Lifetime(_) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1032:32 [INFO] [stdout] | [INFO] [stdout] 1032 | TokenKind::Ident(..) | TokenKind::Literal(..) | TokenKind::Lifetime(_) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1032:57 [INFO] [stdout] | [INFO] [stdout] 1032 | TokenKind::Ident(..) | TokenKind::Literal(..) | TokenKind::Lifetime(_) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1040:9 [INFO] [stdout] | [INFO] [stdout] 1040 | TokenKind::Not [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1041:11 [INFO] [stdout] | [INFO] [stdout] 1041 | | TokenKind::BinOp(BinOpToken::And) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BinOpToken` [INFO] [stdout] --> src/macros.rs:1041:28 [INFO] [stdout] | [INFO] [stdout] 1041 | | TokenKind::BinOp(BinOpToken::And) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BinOpToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1042:11 [INFO] [stdout] | [INFO] [stdout] 1042 | | TokenKind::Tilde [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1043:11 [INFO] [stdout] | [INFO] [stdout] 1043 | | TokenKind::At [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1044:11 [INFO] [stdout] | [INFO] [stdout] 1044 | | TokenKind::Comma [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1045:11 [INFO] [stdout] | [INFO] [stdout] 1045 | | TokenKind::Dot [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1046:11 [INFO] [stdout] | [INFO] [stdout] 1046 | | TokenKind::DotDot [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1047:11 [INFO] [stdout] | [INFO] [stdout] 1047 | | TokenKind::DotDotDot [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1048:11 [INFO] [stdout] | [INFO] [stdout] 1048 | | TokenKind::DotDotEq [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1049:11 [INFO] [stdout] | [INFO] [stdout] 1049 | | TokenKind::Question => SpaceState::Punctuation, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1051:9 [INFO] [stdout] | [INFO] [stdout] 1051 | TokenKind::ModSep [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1052:11 [INFO] [stdout] | [INFO] [stdout] 1052 | | TokenKind::Pound [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1053:11 [INFO] [stdout] | [INFO] [stdout] 1053 | | TokenKind::Dollar [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1054:11 [INFO] [stdout] | [INFO] [stdout] 1054 | | TokenKind::OpenDelim(_) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1055:11 [INFO] [stdout] | [INFO] [stdout] 1055 | | TokenKind::CloseDelim(_) => SpaceState::Never, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1057:9 [INFO] [stdout] | [INFO] [stdout] 1057 | TokenKind::Literal(..) | TokenKind::Ident(..) | TokenKind::Lifetime(_) => SpaceState::Ident, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1057:34 [INFO] [stdout] | [INFO] [stdout] 1057 | TokenKind::Literal(..) | TokenKind::Ident(..) | TokenKind::Lifetime(_) => SpaceState::Ident, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1057:57 [INFO] [stdout] | [INFO] [stdout] 1057 | TokenKind::Literal(..) | TokenKind::Ident(..) | TokenKind::Lifetime(_) => SpaceState::Ident, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:1067:11 [INFO] [stdout] | [INFO] [stdout] 1067 | mac: &ast::MacCall, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:1069:13 [INFO] [stdout] | [INFO] [stdout] 1069 | ) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/macros.rs:1070:17 [INFO] [stdout] | [INFO] [stdout] 1070 | let path = &pprust::path_to_string(&mac.path); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:1074:14 [INFO] [stdout] | [INFO] [stdout] 1074 | Some(ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:1075:17 [INFO] [stdout] | [INFO] [stdout] 1075 | id: ast::NodeId::root(), // dummy value [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:1076:19 [INFO] [stdout] | [INFO] [stdout] 1076 | kind: ast::ExprKind::Try(parse_expr(context, ts)?), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:1078:20 [INFO] [stdout] | [INFO] [stdout] 1078 | attrs: ast::AttrVec::new(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/macros.rs:1086:33 [INFO] [stdout] | [INFO] [stdout] 1086 | pub(crate) fn macro_style(mac: &ast::MacCall, context: &RewriteContext<'_>) -> DelimToken { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1093:9 [INFO] [stdout] | [INFO] [stdout] 1093 | DelimToken::Paren [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1095:9 [INFO] [stdout] | [INFO] [stdout] 1095 | DelimToken::Bracket [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1097:9 [INFO] [stdout] | [INFO] [stdout] 1097 | DelimToken::Brace [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:1123:13 [INFO] [stdout] | [INFO] [stdout] 1123 | TokenTree::Token(..) => return None, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:1124:13 [INFO] [stdout] | [INFO] [stdout] 1124 | TokenTree::Delimited(delimited_span, d, _) => (delimited_span.open.lo(), d), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenStream` [INFO] [stdout] --> src/macros.rs:1126:20 [INFO] [stdout] | [INFO] [stdout] 1126 | let args = TokenStream::new(vec![(tok, Spacing::Joint)]); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `TokenStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Spacing` [INFO] [stdout] --> src/macros.rs:1126:48 [INFO] [stdout] | [INFO] [stdout] 1126 | let args = TokenStream::new(vec![(tok, Spacing::Joint)]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Spacing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:1128:13 [INFO] [stdout] | [INFO] [stdout] 1128 | TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1129:23 [INFO] [stdout] | [INFO] [stdout] 1129 | kind: TokenKind::FatArrow, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:1135:13 [INFO] [stdout] | [INFO] [stdout] 1135 | TokenTree::Token(..) => return None, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:1136:13 [INFO] [stdout] | [INFO] [stdout] 1136 | TokenTree::Delimited(delimited_span, ..) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Span` [INFO] [stdout] --> src/macros.rs:1140:21 [INFO] [stdout] | [INFO] [stdout] 1140 | Span::new( [INFO] [stdout] | ^^^^ use of undeclared type `Span` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/macros.rs:1150:21 [INFO] [stdout] | [INFO] [stdout] 1150 | if let Some(TokenTree::Token(Token { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/macros.rs:1151:19 [INFO] [stdout] | [INFO] [stdout] 1151 | kind: TokenKind::Semi, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1191:36 [INFO] [stdout] | [INFO] [stdout] 1191 | if self.args_paren_kind != DelimToken::Paren { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1358:9 [INFO] [stdout] | [INFO] [stdout] 1358 | DelimToken::Paren => ("(", ")"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | DelimToken::Bracket => ("[", "]"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1360:9 [INFO] [stdout] | [INFO] [stdout] 1360 | DelimToken::Brace => (" {", "}"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1364:9 [INFO] [stdout] | [INFO] [stdout] 1364 | DelimToken::Paren | DelimToken::Bracket if position == MacroPosition::Item => ";", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/macros.rs:1364:29 [INFO] [stdout] | [INFO] [stdout] 1364 | DelimToken::Paren | DelimToken::Bracket if position == MacroPosition::Item => ";", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | arm: &'a ast::Arm, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn new(arm: &'a ast::Arm, is_last: bool, beginning_vert: Option) -> ArmWrapper<'a> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | cond: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | arms: &[ast::Arm], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | fn arm_comma(config: &Config, body: &ast::Expr, is_last: bool) -> &'static str { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | } else if let ast::ExprKind::Block(ref block, _) = body.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | if let ast::BlockCheckMode::Default = block.rules { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | arms: &[ast::Arm], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | arms: &[ast::Arm], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | arm: &ast::Arm, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:285:28 [INFO] [stdout] | [INFO] [stdout] 285 | fn stmt_is_expr_mac(stmt: &ast::Stmt) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | if let ast::StmtKind::Expr(expr) = &stmt.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | if let ast::ExprKind::MacCall(_) = &expr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 296 | expr: &'a ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | ) -> Option<&'a ast::Block> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | ast::ExprKind::Block(ref block, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | body: &'a ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:318:17 [INFO] [stdout] | [INFO] [stdout] 318 | ) -> (bool, &'a ast::Expr) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | if let ast::StmtKind::Expr(ref expr) = block.stmts[0].kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | if let ast::ExprKind::Block(..) = expr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/matches.rs:350:12 [INFO] [stdout] | [INFO] [stdout] 350 | body: &ptr::P, [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:350:19 [INFO] [stdout] | [INFO] [stdout] 350 | body: &ptr::P, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:362:45 [INFO] [stdout] | [INFO] [stdout] 362 | let (is_block, is_empty_block) = if let ast::ExprKind::Block(ref block, _) = body.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/matches.rs:518:20 [INFO] [stdout] | [INFO] [stdout] 518 | guard: &Option>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:518:27 [INFO] [stdout] | [INFO] [stdout] 518 | guard: &Option>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:576:41 [INFO] [stdout] | [INFO] [stdout] 576 | fn can_flatten_block_around_this(body: &ast::Expr) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | ast::ExprKind::If(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | ast::ExprKind::ForLoop(..) | ast::ExprKind::While(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:583:38 [INFO] [stdout] | [INFO] [stdout] 583 | ast::ExprKind::ForLoop(..) | ast::ExprKind::While(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | ast::ExprKind::Loop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:585:11 [INFO] [stdout] | [INFO] [stdout] 585 | | ast::ExprKind::Match(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:586:11 [INFO] [stdout] | [INFO] [stdout] 586 | | ast::ExprKind::Block(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:587:11 [INFO] [stdout] | [INFO] [stdout] 587 | | ast::ExprKind::Closure(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:588:11 [INFO] [stdout] | [INFO] [stdout] 588 | | ast::ExprKind::Array(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:589:11 [INFO] [stdout] | [INFO] [stdout] 589 | | ast::ExprKind::Call(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:590:11 [INFO] [stdout] | [INFO] [stdout] 590 | | ast::ExprKind::MethodCall(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:591:11 [INFO] [stdout] | [INFO] [stdout] 591 | | ast::ExprKind::MacCall(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:592:11 [INFO] [stdout] | [INFO] [stdout] 592 | | ast::ExprKind::Struct(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:593:11 [INFO] [stdout] | [INFO] [stdout] 593 | | ast::ExprKind::Tup(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | ast::ExprKind::AddrOf(_, _, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:595:11 [INFO] [stdout] | [INFO] [stdout] 595 | | ast::ExprKind::Box(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:596:11 [INFO] [stdout] | [INFO] [stdout] 596 | | ast::ExprKind::Try(ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 597 | | ast::ExprKind::Unary(_, ref expr) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:598:11 [INFO] [stdout] | [INFO] [stdout] 598 | | ast::ExprKind::Index(ref expr, _) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/matches.rs:599:11 [INFO] [stdout] | [INFO] [stdout] 599 | | ast::ExprKind::Cast(ref expr, _) => can_flatten_block_around_this(expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules/visitor.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) item: ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules/visitor.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn visit_mac_call(&mut self, mac: &'ast ast::MacCall) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules/visitor.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_mac_inner(&mut self, mac: &'ast ast::MacCall) -> Result<(), &'static str> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/modules/visitor.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | if first_segment.ident.name != Symbol::intern("cfg_if") { [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules/visitor.rs:87:58 [INFO] [stdout] | [INFO] [stdout] 87 | fn visit_meta_name_value(&mut self, meta_item: &'ast ast::MetaItem, lit: &'ast ast::Lit) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules/visitor.rs:87:84 [INFO] [stdout] | [INFO] [stdout] 87 | fn visit_meta_name_value(&mut self, meta_item: &'ast ast::MetaItem, lit: &'ast ast::Lit) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/modules/visitor.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | if meta_item.has_name(Symbol::intern("path")) && lit.kind.is_str() { [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules/visitor.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | fn lit_to_str(lit: &ast::Lit) -> String { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules/visitor.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | ast::LitKind::Str(symbol, ..) => symbol.to_string(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | ast_mod_kind: Option>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:29:53 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) items: Cow<'a, Vec>>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | inner_attr: Vec, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | ast_mod_kind: Option>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | mod_items: Cow<'a, Vec>>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | mod_attrs: Cow<'a, Vec>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:43:42 [INFO] [stdout] | [INFO] [stdout] 43 | .filter(|attr| attr.style == ast::AttrStyle::Inner) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | fn attrs(&self) -> &[ast::Attribute] { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | fn visit_attrs(&mut self, f: impl FnOnce(&mut Vec)) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | Internal(&'a ast::Item), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | krate: &'ast ast::Crate, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | fn visit_cfg_if(&mut self, item: Cow<'ast, ast::Item>) -> Result<(), ModuleResolutionError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | if let ast::ItemKind::Mod(_, ref sub_mod_kind) = module_item.item.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:182:38 [INFO] [stdout] | [INFO] [stdout] 182 | items: Vec>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | if let ast::ItemKind::Mod(_, ref sub_mod_kind) = item.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:209:41 [INFO] [stdout] | [INFO] [stdout] 209 | items: &'ast [rustc_ast::ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | if let ast::ItemKind::Mod(_, ref sub_mod_kind) = item.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:234:19 [INFO] [stdout] | [INFO] [stdout] 234 | item: &'c ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | item: &'c ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:328:33 [INFO] [stdout] | [INFO] [stdout] 328 | (Some(Cow::Borrowed(ast::ModKind::Loaded(items, _, _))), _) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:331:30 [INFO] [stdout] | [INFO] [stdout] 331 | (Some(Cow::Owned(ast::ModKind::Loaded(items, _, _))), _) | (_, Cow::Owned(items)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/modules.rs:341:19 [INFO] [stdout] | [INFO] [stdout] 341 | mod_name: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:360:41 [INFO] [stdout] | [INFO] [stdout] 360 | Some(Cow::Owned(ast::ModKind::Unloaded)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:410:49 [INFO] [stdout] | [INFO] [stdout] 410 | ... Some(Cow::Owned(ast::ModKind::Unloaded)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:422:49 [INFO] [stdout] | [INFO] [stdout] 422 | ... Some(Cow::Owned(ast::ModKind::Unloaded)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/modules.rs:482:49 [INFO] [stdout] | [INFO] [stdout] 482 | fn push_inline_mod_directory(&mut self, id: symbol::Ident, attrs: &[ast::Attribute]) { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:482:73 [INFO] [stdout] | [INFO] [stdout] 482 | fn push_inline_mod_directory(&mut self, id: symbol::Ident, attrs: &[ast::Attribute]) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:512:18 [INFO] [stdout] | [INFO] [stdout] 512 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:550:37 [INFO] [stdout] | [INFO] [stdout] 550 | Some(Cow::Owned(ast::ModKind::Unloaded)), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:560:22 [INFO] [stdout] | [INFO] [stdout] 560 | fn path_value(attr: &ast::Attribute) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/modules.rs:561:22 [INFO] [stdout] | [INFO] [stdout] 561 | if attr.has_name(sym::path) { [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | fn find_path_value(attrs: &[ast::Attribute]) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:575:21 [INFO] [stdout] | [INFO] [stdout] 575 | fn is_cfg_if(item: &ast::Item) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/modules.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | ast::ItemKind::MacCall(ref mac) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Symbol` [INFO] [stdout] --> src/modules.rs:579:48 [INFO] [stdout] | [INFO] [stdout] 579 | if first_segment.ident.name == Symbol::intern("cfg_if") { [INFO] [stdout] | ^^^^^^ use of undeclared type `Symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | Expr(&'a ast::Expr), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | GenericParam(&'a ast::GenericParam), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | NestedMetaItem(&'a ast::NestedMetaItem), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | FieldDef(&'a ast::FieldDef), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | Ty(&'a ast::Ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | Pat(&'a ast::Pat), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | OverflowableItem::Expr(ast::Expr { attrs, .. }) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:97:46 [INFO] [stdout] | [INFO] [stdout] 97 | | OverflowableItem::GenericParam(ast::GenericParam { attrs, .. }) => !attrs.is_empty(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:98:40 [INFO] [stdout] | [INFO] [stdout] 98 | OverflowableItem::FieldDef(ast::FieldDef { attrs, .. }) => !attrs.is_empty(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | ast::NestedMetaItem::Literal(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | ast::NestedMetaItem::MetaItem(ref meta_item) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:130:46 [INFO] [stdout] | [INFO] [stdout] 130 | matches!(meta_item.kind, ast::MetaItemKind::Word) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | pub(crate) fn to_expr(&self) -> Option<&'a ast::Expr> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | ast::NestedMetaItem::Literal(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | ast::NestedMetaItem::MetaItem(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/overflow.rs:198:73 [INFO] [stdout] | [INFO] [stdout] 198 | impl<'a, T: 'a + IntoOverflowableItem<'a>> IntoOverflowableItem<'a> for ptr::P { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:207:51 [INFO] [stdout] | [INFO] [stdout] 207 | impl<'a> IntoOverflowableItem<'a> for ast::$ast_node { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] ... [INFO] [stdout] 235 | impl_into_overflowable_item_for_ast_node!(Expr, GenericParam, NestedMetaItem, FieldDef, Ty, Pat); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_into_overflowable_item_for_ast_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/overflow.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | Some(DelimToken::Paren) => ("(", ")"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/overflow.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 304 | Some(DelimToken::Brace) => ("{", "}"), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 399 | ast::ExprKind::Closure(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | ast::ExprKind::If(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:412:23 [INFO] [stdout] | [INFO] [stdout] 412 | | ast::ExprKind::ForLoop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:413:23 [INFO] [stdout] | [INFO] [stdout] 413 | | ast::ExprKind::Loop(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | | ast::ExprKind::While(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/overflow.rs:415:23 [INFO] [stdout] | [INFO] [stdout] 415 | | ast::ExprKind::Match(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | expr: &ast::Expr, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | impl FlattenPair for ast::Expr { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | ) -> Option> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | ast::ExprKind::Binary(op, _, _) => op.node, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:262:39 [INFO] [stdout] | [INFO] [stdout] 262 | let default_rewrite = |node: &ast::Expr, sep: usize, is_first: bool| { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | ast::ExprKind::Binary(op, ref lhs, _) if op.node == top_op => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | ... ast::ExprKind::Binary(op, _, ref rhs) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | impl FlattenPair for ast::Ty {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pairs.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | impl FlattenPair for ast::Pat {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/asm.rs:7:61 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn parse_asm(context: &RewriteContext<'_>, mac: &ast::MacCall) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn parse_asm(context: &RewriteContext<'_>, mac: &asm::MacCall) -> Option { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | mac: &'a ast::MacCall, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result, &'static str> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | mac: &'a ast::MacCall, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> Result, &'static str> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | while parser.token.kind != TokenKind::Eof { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | if !parser.eat_keyword(kw::If) { [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | if !parser.eat(&TokenKind::OpenDelim(DelimToken::Brace)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | if !parser.eat(&TokenKind::OpenDelim(DelimToken::Brace)) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | while parser.token != TokenKind::CloseDelim(DelimToken::Brace) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | while parser.token != TokenKind::CloseDelim(DelimToken::Brace) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | && parser.token.kind != TokenKind::Eof [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForceCollect` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let item = match parser.parse_item(ForceCollect::No) { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ForceCollect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | if let ast::ItemKind::Mod(..) = item.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | if !parser.eat(&TokenKind::CloseDelim(DelimToken::Brace)) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:73:47 [INFO] [stdout] | [INFO] [stdout] 73 | if !parser.eat(&TokenKind::CloseDelim(DelimToken::Brace)) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | if parser.eat(&TokenKind::Eof) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | if !parser.eat_keyword(kw::Else) { [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/cfg_if.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | process_if_cfg = parser.token.is_keyword(kw::If); [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Option, P)>> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Option, P)>> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Option, P)>> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:12:64 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Option, P)>> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | while parser.token.kind != TokenKind::Eof { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | parser.eat_keyword(kw::Static); [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | parser.eat_keyword(kw::Ref); [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | parser.eat(&TokenKind::Colon); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | parser.eat(&TokenKind::Eq); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/lazy_static.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | parser.eat(&TokenKind::Semi); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/parse/macros/mod.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | |x: ptr::P| Some(x) [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/mod.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | |x: ptr::P| Some(x) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/parse/macros/mod.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | |x: ptr::P| Some(x) [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/mod.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | |x: ptr::P| Some(x) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/parse/macros/mod.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | |x: ptr::P| Some(x) [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/mod.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | |x: ptr::P| Some(x) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ForceCollect` [INFO] [stdout] --> src/parse/macros/mod.rs:65:74 [INFO] [stdout] | [INFO] [stdout] 65 | |parser: &mut rustc_parse::parser::Parser<'b>| parser.parse_item(ForceCollect::No), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ForceCollect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/parse/macros/mod.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | |x: Option>| x [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/mod.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | |x: Option>| x [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | t.kind == TokenKind::Eof [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | || t.kind == TokenKind::Comma [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | || t.kind == TokenKind::CloseDelim(DelimToken::NoDelim) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/parse/macros/mod.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | || t.kind == TokenKind::CloseDelim(DelimToken::NoDelim) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/parse/macros/mod.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | symbol::Ident::with_dummy_span(keyword), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/parse/macros/mod.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | if DelimToken::Brace != style { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | TokenKind::Eof => break, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | TokenKind::Comma => (), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | TokenKind::Semi => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | if parser.token.kind != TokenKind::Eof { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:130:61 [INFO] [stdout] | [INFO] [stdout] 130 | ... if parser.token.kind == TokenKind::Eof && args.len() == 2 { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/macros/mod.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | if parser.token.kind == TokenKind::Eof { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/parse/macros/mod.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Option> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/macros/mod.rs:166:20 [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Option> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 166 | ) -> Option> { [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | kw::PathRoot, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | kw::DollarCrate, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | kw::Underscore, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | kw::As, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | kw::Box, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | kw::Break, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | kw::Const, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | kw::Continue, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | kw::Crate, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | kw::Else, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | kw::Enum, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | kw::Extern, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | kw::False, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | kw::Fn, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | kw::For, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | kw::If, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | kw::Impl, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | kw::In, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | kw::Let, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | kw::Loop, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | kw::Match, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | kw::Mod, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | kw::Move, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | kw::Mut, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | kw::Pub, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | kw::Ref, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | kw::Return, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | kw::SelfLower, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | kw::SelfUpper, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | kw::Static, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | kw::Struct, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | kw::Super, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | kw::Trait, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | kw::True, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | kw::Type, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | kw::Unsafe, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | kw::Use, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | kw::Where, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | kw::While, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | kw::Abstract, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | kw::Become, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | kw::Do, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | kw::Final, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | kw::Macro, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | kw::Override, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | kw::Priv, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | kw::Typeof, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | kw::Unsized, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | kw::Virtual, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | kw::Yield, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | kw::Dyn, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | kw::Async, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | kw::Try, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | kw::UnderscoreLifetime, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | kw::StaticLifetime, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | kw::Auto, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | kw::Catch, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | kw::Default, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/parse/macros/mod.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | kw::Union, [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/parser.rs:94:50 [INFO] [stdout] | [INFO] [stdout] 94 | pub(crate) fn submod_path_from_attr(attrs: &[ast::Attribute], path: &Path) -> Option { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/parse/parser.rs:95:60 [INFO] [stdout] | [INFO] [stdout] 95 | let path_sym = first_attr_value_str_by_name(attrs, sym::path)?; [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/parser.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result<(Vec, Vec>, Span), ParserError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/parse/parser.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result<(Vec, Vec>, Span), ParserError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/parser.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | ) -> Result<(Vec, Vec>, Span), ParserError> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenKind` [INFO] [stdout] --> src/parse/parser.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | match parser.parse_mod(&TokenKind::Eof) { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/parser.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | ) -> Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/parser.rs:155:71 [INFO] [stdout] | [INFO] [stdout] 155 | fn parse_crate_inner(input: Input, sess: &'a ParseSess) -> Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/parse/parser.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | fn parse_crate_mod(&mut self) -> Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiagnosticLevel` [INFO] [stdout] --> src/parse/session.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | if db.level() == DiagnosticLevel::Fatal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `DiagnosticLevel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColorConfig` [INFO] [stdout] --> src/parse/session.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | ColorConfig::Auto [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ColorConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColorConfig` [INFO] [stdout] --> src/parse/session.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | ColorConfig::Never [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ColorConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EmitterWriter` [INFO] [stdout] --> src/parse/session.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | Box::new(EmitterWriter::stderr( [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EmitterWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handler` [INFO] [stdout] --> src/parse/session.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | Handler::with_emitter( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/parse/session.rs:128:36 [INFO] [stdout] | [INFO] [stdout] 128 | Ok(ignore_path_set) => Lrc::new(ignore_path_set), [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/parse/session.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | let source_map = Lrc::new(SourceMap::new(FilePathMapping::empty())); [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceMap` [INFO] [stdout] --> src/parse/session.rs:131:35 [INFO] [stdout] | [INFO] [stdout] 131 | let source_map = Lrc::new(SourceMap::new(FilePathMapping::empty())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SourceMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilePathMapping` [INFO] [stdout] --> src/parse/session.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 131 | let source_map = Lrc::new(SourceMap::new(FilePathMapping::empty())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `FilePathMapping` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/parse/session.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | let can_reset_errors = Lrc::new(AtomicBool::new(false)); [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/parse/session.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | Lrc::clone(&source_map), [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/parse/session.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Lrc::clone(&ignore_path_set), [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/parse/session.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | Lrc::clone(&can_reset_errors), [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawParseSess` [INFO] [stdout] --> src/parse/session.rs:140:26 [INFO] [stdout] | [INFO] [stdout] 140 | let parse_sess = RawParseSess::with_span_handler(handler, source_map); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RawParseSess` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/parse/session.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | id: symbol::Ident, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `symbol` [INFO] [stdout] --> src/parse/session.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | relative: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handler` [INFO] [stdout] --> src/parse/session.rs:192:43 [INFO] [stdout] | [INFO] [stdout] 192 | self.parse_sess.span_diagnostic = Handler::with_emitter(true, None, silent_emitter()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/parse/session.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | Lrc::clone(source_file.src.as_ref().unwrap()), [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn is_short_pattern(pat: &ast::Pat, pat_str: &str) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | fn is_short_pattern_inner(pat: &ast::Pat) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ast::PatKind::Rest | ast::PatKind::Wild | ast::PatKind::Lit(_) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | ast::PatKind::Rest | ast::PatKind::Wild | ast::PatKind::Lit(_) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | ast::PatKind::Rest | ast::PatKind::Wild | ast::PatKind::Lit(_) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ast::PatKind::Ident(_, _, ref pat) => pat.is_none(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | ast::PatKind::Struct(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | | ast::PatKind::MacCall(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | | ast::PatKind::Slice(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | | ast::PatKind::Path(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | | ast::PatKind::Range(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | ast::PatKind::Tuple(ref subpats) => subpats.len() <= 1, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | ast::PatKind::TupleStruct(_, ref path, ref subpats) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | ast::PatKind::Box(ref p) | ast::PatKind::Ref(ref p, _) | ast::PatKind::Paren(ref p) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | ast::PatKind::Box(ref p) | ast::PatKind::Ref(ref p, _) | ast::PatKind::Paren(ref p) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:52:66 [INFO] [stdout] | [INFO] [stdout] 52 | ast::PatKind::Box(ref p) | ast::PatKind::Ref(ref p, _) | ast::PatKind::Paren(ref p) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | PatKind::Or(ref pats) => pats.iter().all(|p| is_short_pattern_inner(p)), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/patterns.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | struct RangeOperand<'a>(&'a Option>); [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | struct RangeOperand<'a>(&'a Option>); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | PatKind::Or(ref pats) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | PatKind::Box(ref pat) => rewrite_unary_prefix(context, "box ", &**pat, shape), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | PatKind::Ident(binding_mode, ident, ref sub_pat) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindingMode` [INFO] [stdout] --> src/patterns.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | BindingMode::ByRef(mutability) => ("ref", mutability), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BindingMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BindingMode` [INFO] [stdout] --> src/patterns.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | BindingMode::ByValue(mutability) => ("", mutability), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BindingMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | PatKind::Wild => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | PatKind::Rest => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | PatKind::Range(ref lhs, ref rhs, ref end_kind) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeEnd` [INFO] [stdout] --> src/patterns.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | RangeEnd::Included(RangeSyntax::DotDotDot) => "...", [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RangeEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSyntax` [INFO] [stdout] --> src/patterns.rs:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | RangeEnd::Included(RangeSyntax::DotDotDot) => "...", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RangeSyntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeEnd` [INFO] [stdout] --> src/patterns.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | RangeEnd::Included(RangeSyntax::DotDotEq) => "..=", [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RangeEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSyntax` [INFO] [stdout] --> src/patterns.rs:197:40 [INFO] [stdout] | [INFO] [stdout] 197 | RangeEnd::Included(RangeSyntax::DotDotEq) => "..=", [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RangeSyntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeEnd` [INFO] [stdout] --> src/patterns.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | RangeEnd::Excluded => "..", [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RangeEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | PatKind::Ref(ref pat, mutability) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | PatKind::Tuple(ref items) => rewrite_tuple_pat(items, None, self.span, context, shape), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | PatKind::Path(ref q_self, ref path) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | PatKind::TupleStruct(ref q_self, ref path, ref pat_vec) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | PatKind::Lit(ref expr) => expr.rewrite(context, shape), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | PatKind::Slice(ref slice_pat) if context.config.version() == Version::One => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | PatKind::Slice(ref slice_pat) => overflow::rewrite_with_square_brackets( [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | PatKind::Struct(ref qself, ref path, ref fields, ellipsis) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | PatKind::MacCall(ref mac) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/patterns.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | PatKind::Paren(ref pat) => pat [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:272:20 [INFO] [stdout] | [INFO] [stdout] 272 | qself: &Option, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | path: &ast::Path, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:274:15 [INFO] [stdout] | [INFO] [stdout] 274 | fields: &[ast::PatField], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/patterns.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | Pat(&'a ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:401:20 [INFO] [stdout] | [INFO] [stdout] 401 | Pat(&'a ptr::P), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:426:59 [INFO] [stdout] | [INFO] [stdout] 426 | TuplePatField::Pat(pat) => matches!(pat.kind, ast::PatKind::Rest), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | ast::PatKind::Path(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:440:15 [INFO] [stdout] | [INFO] [stdout] 440 | | ast::PatKind::Tuple(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:441:15 [INFO] [stdout] | [INFO] [stdout] 441 | | ast::PatKind::Struct(..) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | | ast::PatKind::TupleStruct(..) => context.use_block_indent() && len == 1, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | ast::PatKind::Ref(ref p, _) | ast::PatKind::Box(ref p) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:443:43 [INFO] [stdout] | [INFO] [stdout] 443 | ast::PatKind::Ref(ref p, _) | ast::PatKind::Box(ref p) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | ast::PatKind::Lit(ref expr) => can_be_overflowed_expr(context, expr, len), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/patterns.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | pats: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/patterns.rs:454:20 [INFO] [stdout] | [INFO] [stdout] 454 | pats: &[ptr::P], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | fn compare_items(a: &ast::Item, b: &ast::Item) -> Ordering { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | fn compare_items(a: &ast::Item, b: &ast::Item) -> Ordering { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | (&ast::ItemKind::Mod(..), &ast::ItemKind::Mod(..)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | (&ast::ItemKind::Mod(..), &ast::ItemKind::Mod(..)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | (&ast::ItemKind::ExternCrate(ref a_name), &ast::ItemKind::ExternCrate(ref b_name)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:31:52 [INFO] [stdout] | [INFO] [stdout] 31 | (&ast::ItemKind::ExternCrate(ref a_name), &ast::ItemKind::ExternCrate(ref b_name)) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | item: &ast::Item, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | ast::ItemKind::ExternCrate(..) => rewrite_extern_crate(context, item, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | ast::ItemKind::Mod(..) => rewrite_mod(context, item, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | reorderable_items: &[&ast::Item], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | ast::ItemKind::Use(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:174:35 [INFO] [stdout] | [INFO] [stdout] 174 | fn contains_macro_use_attr(item: &ast::Item) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sym` [INFO] [stdout] --> src/reorder.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | crate::attr::contains_name(&item.attrs, sym::macro_use) [INFO] [stdout] | ^^^ use of undeclared crate or module `sym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | fn from(item: &ast::Item) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | ast::ItemKind::ExternCrate(..) => ReorderableItemKind::ExternCrate, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | ast::ItemKind::Mod(..) if is_mod_decl(item) => ReorderableItemKind::Mod, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | ast::ItemKind::Use(..) => ReorderableItemKind::Use, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:230:39 [INFO] [stdout] | [INFO] [stdout] 230 | fn is_same_item_kind(self, item: &ast::Item) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | items: &[&ast::Item], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/reorder.rs:312:72 [INFO] [stdout] | [INFO] [stdout] 312 | pub(crate) fn visit_items_with_reordering(&mut self, mut items: &[&ast::Item]) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/rewrite.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | impl Rewrite for ptr::P { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/skip.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) fn update_with_attrs(&mut self, attrs: &[ast::Attribute]) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/skip.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn is_skip_attr(segments: &[ast::PathSegment]) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/skip.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | .any(|&n| n == pprust::path_segment_to_string(&segments[2])) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/skip.rs:55:40 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_skip_names(kind: &str, attrs: &[ast::Attribute]) -> Vec { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/skip.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | if let ast::AttrKind::Normal(attr_item, _) = &attr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pprust` [INFO] [stdout] --> src/skip.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if pprust::path_to_string(&attr_item.path) != path { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `pprust` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/source_file.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Lrc::new(fs::read_to_string(ensure_real_path(filename))?) [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lrc` [INFO] [stdout] --> src/source_file.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | None => Lrc::new(fs::read_to_string(ensure_real_path(filename))?), [INFO] [stdout] | ^^^ use of undeclared type `Lrc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/spanned.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | impl Spanned for ptr::P { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `source_map` [INFO] [stdout] --> src/spanned.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | impl Spanned for source_map::Spanned { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `source_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | implement_spanned!(ast::AssocItem); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | implement_spanned!(ast::Expr); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | implement_spanned!(ast::ExprField); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | implement_spanned!(ast::ForeignItem); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | implement_spanned!(ast::Item); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | implement_spanned!(ast::Local); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | impl Spanned for ast::Stmt { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | ast::StmtKind::Local(ref local) => mk_sp(local.span().lo(), self.span.hi()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ast::StmtKind::Item(ref item) => mk_sp(item.span().lo(), self.span.hi()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | ast::StmtKind::Expr(ref expr) | ast::StmtKind::Semi(ref expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | ast::StmtKind::Expr(ref expr) | ast::StmtKind::Semi(ref expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | ast::StmtKind::MacCall(ref mac_stmt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | ast::StmtKind::Empty => self.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | impl Spanned for ast::Pat { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | impl Spanned for ast::Ty { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | impl Spanned for ast::Arm { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | impl Spanned for ast::Param { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | impl Spanned for ast::GenericParam { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | ast::GenericParamKind::Const { kw_span, .. } => kw_span.lo(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | let ty_hi = if let ast::GenericParamKind::Type { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | | ast::GenericParamKind::Const { ref ty, .. } = self.kind [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | impl Spanned for ast::FieldDef { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | impl Spanned for ast::WherePredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | ast::WherePredicate::BoundPredicate(ref p) => p.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | ast::WherePredicate::RegionPredicate(ref p) => p.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | ast::WherePredicate::EqPredicate(ref p) => p.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | impl Spanned for ast::FnRetTy { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | ast::FnRetTy::Default(span) => span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | ast::FnRetTy::Ty(ref ty) => ty.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | impl Spanned for ast::GenericArg { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | ast::GenericArg::Lifetime(ref lt) => lt.ident.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | ast::GenericArg::Type(ref ty) => ty.span(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | ast::GenericArg::Const(ref _const) => _const.value.span(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 174 | impl Spanned for ast::GenericBound { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | ast::GenericBound::Trait(ref ptr, _) => ptr.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | ast::GenericBound::Outlives(ref l) => l.ident.span, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/spanned.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | impl Spanned for ast::NestedMetaItem { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | inner: &'a ast::Stmt, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn as_ast_node(&self) -> &ast::Stmt { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn to_item(&self) -> Option<&ast::Item> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | ast::StmtKind::Item(ref item) => Some(&**item), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:36:44 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn from_ast_node(inner: &'a ast::Stmt, is_last: bool) -> Self { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | I: Iterator, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | matches!(self.inner.kind, ast::StmtKind::Empty) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ast::StmtKind::Expr(ref expr) => match expr.kind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | ast::ExprKind::Ret(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Break(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 66 | ast::ExprKind::Ret(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Break(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:66:72 [INFO] [stdout] | [INFO] [stdout] 66 | ast::ExprKind::Ret(..) | ast::ExprKind::Continue(..) | ast::ExprKind::Break(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | impl Rewrite for ast::Stmt { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | stmt: &ast::Stmt, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | ast::StmtKind::Local(ref local) => local.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | ast::StmtKind::Expr(ref ex) | ast::StmtKind::Semi(ref ex) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:103:39 [INFO] [stdout] | [INFO] [stdout] 103 | ast::StmtKind::Expr(ref ex) | ast::StmtKind::Semi(ref ex) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | ast::StmtKind::MacCall(..) | ast::StmtKind::Item(..) | ast::StmtKind::Empty => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | ast::StmtKind::MacCall(..) | ast::StmtKind::Item(..) | ast::StmtKind::Empty => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/stmt.rs:113:64 [INFO] [stdout] | [INFO] [stdout] 113 | ast::StmtKind::MacCall(..) | ast::StmtKind::Item(..) | ast::StmtKind::Empty => None, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | qself: Option<&ast::QSelf>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | path: &ast::Path, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | I: Iterator, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/types.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | if segment.ident.name == kw::PathRoot { [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | Const(&'a ast::AnonConst), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | LifeTime(&'a ast::Lifetime), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | Type(&'a ast::Ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | Binding(&'a ast::AssocConstraint), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:148:31 [INFO] [stdout] | [INFO] [stdout] 148 | fn from_generic_arg(arg: &ast::GenericArg) -> SegmentParam<'_> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | ast::GenericArg::Lifetime(ref lt) => SegmentParam::LifeTime(lt), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | ast::GenericArg::Type(ref ty) => SegmentParam::Type(ty), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | ast::GenericArg::Const(const_) => SegmentParam::Const(const_), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | impl Rewrite for ast::AssocConstraint { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | impl Rewrite for ast::AssocConstraintKind { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | ast::AssocConstraintKind::Equality { term } => match term { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> src/types.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | Term::Ty(ty) => ty.rewrite(context, shape), [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Term` [INFO] [stdout] --> src/types.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | Term::Const(c) => c.rewrite(context, shape), [INFO] [stdout] | ^^^^ use of undeclared type `Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | ast::AssocConstraintKind::Bound { bounds } => bounds.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:233:15 [INFO] [stdout] | [INFO] [stdout] 233 | segment: &ast::PathSegment, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | ast::GenericArgs::AngleBracketed(ref data) if !data.args.is_empty() => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/types.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | FnRetTy::Ty(ref ty) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FnRetTy` [INFO] [stdout] --> src/types.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | FnRetTy::Default(..) => String::new(), [INFO] [stdout] | ^^^^^^^ use of undeclared type `FnRetTy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | impl Rewrite for ast::WherePredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | ast::WherePredicate::BoundPredicate(ast::WhereBoundPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:421:49 [INFO] [stdout] | [INFO] [stdout] 421 | ast::WherePredicate::BoundPredicate(ast::WhereBoundPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | ast::WherePredicate::RegionPredicate(ast::WhereRegionPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:439:50 [INFO] [stdout] | [INFO] [stdout] 439 | ast::WherePredicate::RegionPredicate(ast::WhereRegionPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | ast::WherePredicate::EqPredicate(ast::WhereEqPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:444:46 [INFO] [stdout] | [INFO] [stdout] 444 | ast::WherePredicate::EqPredicate(ast::WhereEqPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 458 | impl Rewrite for ast::GenericArg { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | ast::GenericArg::Lifetime(ref lt) => lt.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | ast::GenericArg::Type(ref ty) => ty.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | ast::GenericArg::Const(ref const_) => const_.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:469:16 [INFO] [stdout] | [INFO] [stdout] 469 | gen_args: &ast::GenericArgs, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | ast::GenericArgs::AngleBracketed(ref data) if !data.args.is_empty() => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | ast::AngleBracketedArg::Arg(generic_arg) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:483:21 [INFO] [stdout] | [INFO] [stdout] 483 | ast::AngleBracketedArg::Constraint(constraint) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:491:9 [INFO] [stdout] | [INFO] [stdout] 491 | ast::GenericArgs::Parenthesized(ref data) => format_function_type( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:504:10 [INFO] [stdout] | [INFO] [stdout] 504 | lt: &ast::Lifetime, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:505:15 [INFO] [stdout] | [INFO] [stdout] 505 | bounds: &[ast::GenericBound], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:526:18 [INFO] [stdout] | [INFO] [stdout] 526 | impl Rewrite for ast::AnonConst { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:532:18 [INFO] [stdout] | [INFO] [stdout] 532 | impl Rewrite for ast::Lifetime { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:538:18 [INFO] [stdout] | [INFO] [stdout] 538 | impl Rewrite for ast::GenericBound { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:541:13 [INFO] [stdout] | [INFO] [stdout] 541 | ast::GenericBound::Trait(ref poly_trait_ref, trait_bound_modifier) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | ast::TraitBoundModifier::None => poly_trait_ref.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:546:21 [INFO] [stdout] | [INFO] [stdout] 546 | ast::TraitBoundModifier::Maybe => poly_trait_ref [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:549:21 [INFO] [stdout] | [INFO] [stdout] 549 | ast::TraitBoundModifier::MaybeConst => poly_trait_ref [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | ast::TraitBoundModifier::MaybeConstMaybe => poly_trait_ref [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | ast::GenericBound::Outlives(ref lifetime) => lifetime.rewrite(context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:563:18 [INFO] [stdout] | [INFO] [stdout] 563 | impl Rewrite for ast::GenericBounds { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:573:18 [INFO] [stdout] | [INFO] [stdout] 573 | impl Rewrite for ast::GenericParam { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:591:16 [INFO] [stdout] | [INFO] [stdout] 591 | if let ast::GenericParamKind::Const { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:619:16 [INFO] [stdout] | [INFO] [stdout] 619 | if let ast::GenericParamKind::Type { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:638:18 [INFO] [stdout] | [INFO] [stdout] 638 | impl Rewrite for ast::PolyTraitRef { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:656:18 [INFO] [stdout] | [INFO] [stdout] 656 | impl Rewrite for ast::TraitRef { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:662:18 [INFO] [stdout] | [INFO] [stdout] 662 | impl Rewrite for ast::Ty { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:665:13 [INFO] [stdout] | [INFO] [stdout] 665 | ast::TyKind::TraitObject(ref bounds, tobj_syntax) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:667:45 [INFO] [stdout] | [INFO] [stdout] 667 | let is_dyn = tobj_syntax == ast::TraitObjectSyntax::Dyn; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | ast::TyKind::Ptr(ref mt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/types.rs:685:21 [INFO] [stdout] | [INFO] [stdout] 685 | Mutability::Mut => "*mut ", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutability` [INFO] [stdout] --> src/types.rs:686:21 [INFO] [stdout] | [INFO] [stdout] 686 | Mutability::Not => "*const ", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Mutability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | ast::TyKind::Rptr(ref lifetime, ref mt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:722:20 [INFO] [stdout] | [INFO] [stdout] 722 | if ast::Mutability::Mut == mt.mutbl { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos` [INFO] [stdout] --> src/types.rs:724:67 [INFO] [stdout] | [INFO] [stdout] 724 | let before_mut_span = mk_sp(cmnt_lo, mut_hi - BytePos::from_usize(3)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BytePos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:763:13 [INFO] [stdout] | [INFO] [stdout] 763 | ast::TyKind::Paren(ref ty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | ast::TyKind::Slice(ref ty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:799:13 [INFO] [stdout] | [INFO] [stdout] 799 | ast::TyKind::Tup(ref items) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:802:13 [INFO] [stdout] | [INFO] [stdout] 802 | ast::TyKind::Path(ref q_self, ref path) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:805:13 [INFO] [stdout] | [INFO] [stdout] 805 | ast::TyKind::Array(ref ty, ref repeats) => rewrite_pair( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | ast::TyKind::Infer => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:820:13 [INFO] [stdout] | [INFO] [stdout] 820 | ast::TyKind::BareFn(ref bare_fn) => rewrite_bare_fn(bare_fn, self.span, context, shape), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | ast::TyKind::Never => Some(String::from("!")), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:822:13 [INFO] [stdout] | [INFO] [stdout] 822 | ast::TyKind::MacCall(ref mac) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:825:13 [INFO] [stdout] | [INFO] [stdout] 825 | ast::TyKind::ImplicitSelf => Some(String::from("")), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:826:13 [INFO] [stdout] | [INFO] [stdout] 826 | ast::TyKind::ImplTrait(_, ref it) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | ast::TyKind::CVarArgs => Some("...".to_owned()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | ast::TyKind::Err => Some(context.snippet(self.span).to_owned()), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | ast::TyKind::Typeof(ref anon_const) => rewrite_call( [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:855:15 [INFO] [stdout] | [INFO] [stdout] 855 | bare_fn: &ast::BareFnTy, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:904:49 [INFO] [stdout] | [INFO] [stdout] 904 | fn is_generic_bounds_in_order(generic_bounds: &[ast::GenericBound]) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:905:25 [INFO] [stdout] | [INFO] [stdout] 905 | let is_trait = |b: &ast::GenericBound| match b { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | ast::GenericBound::Outlives(..) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:907:9 [INFO] [stdout] | [INFO] [stdout] 907 | ast::GenericBound::Trait(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:909:28 [INFO] [stdout] | [INFO] [stdout] 909 | let is_lifetime = |b: &ast::GenericBound| !is_trait(b); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:923:14 [INFO] [stdout] | [INFO] [stdout] 923 | items: &[ast::GenericBound], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:932:14 [INFO] [stdout] | [INFO] [stdout] 932 | items: &[ast::GenericBound], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:939:45 [INFO] [stdout] | [INFO] [stdout] 939 | let is_bound_extendable = |s: &str, b: &ast::GenericBound| match b { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | ast::GenericBound::Outlives(..) => true, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | ast::GenericBound::Trait(..) => last_line_extendable(s), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ptr` [INFO] [stdout] --> src/types.rs:1048:37 [INFO] [stdout] | [INFO] [stdout] 1048 | pub(crate) fn opaque_ty(ty: &Option>) -> Option<&ast::GenericBounds> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1048:44 [INFO] [stdout] | [INFO] [stdout] 1048 | pub(crate) fn opaque_ty(ty: &Option>) -> Option<&ast::GenericBounds> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1048:66 [INFO] [stdout] | [INFO] [stdout] 1048 | pub(crate) fn opaque_ty(ty: &Option>) -> Option<&ast::GenericBounds> { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1050:9 [INFO] [stdout] | [INFO] [stdout] 1050 | ast::TyKind::ImplTrait(_, bounds) => Some(bounds), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1057:10 [INFO] [stdout] | [INFO] [stdout] 1057 | ty: &ast::Ty, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1061:9 [INFO] [stdout] | [INFO] [stdout] 1061 | ast::TyKind::Tup(..) => context.use_block_indent() && len == 1, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1062:9 [INFO] [stdout] | [INFO] [stdout] 1062 | ast::TyKind::Rptr(_, ref mutty) | ast::TyKind::Ptr(ref mutty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1062:43 [INFO] [stdout] | [INFO] [stdout] 1062 | ast::TyKind::Rptr(_, ref mutty) | ast::TyKind::Ptr(ref mutty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1073:23 [INFO] [stdout] | [INFO] [stdout] 1073 | generic_params: &[ast::GenericParam], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/types.rs:1077:38 [INFO] [stdout] | [INFO] [stdout] 1077 | .filter(|p| matches!(p.kind, ast::GenericParamKind::Lifetime)) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/vertical.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | impl AlignedItem for ast::FieldDef { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/vertical.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | impl AlignedItem for ast::ExprField { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos` [INFO] [stdout] --> src/visitor.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | BytePos::from_usize(self.start_pos) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BytePos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos` [INFO] [stdout] --> src/visitor.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | BytePos::from_usize(self.end_pos) [INFO] [stdout] | ^^^^^^^ use of undeclared type `BytePos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | ast::StmtKind::Item(ref item) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | ast::StmtKind::Local(..) | ast::StmtKind::Expr(..) | ast::StmtKind::Semi(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:156:40 [INFO] [stdout] | [INFO] [stdout] 156 | ast::StmtKind::Local(..) | ast::StmtKind::Expr(..) | ast::StmtKind::Semi(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:156:66 [INFO] [stdout] | [INFO] [stdout] 156 | ast::StmtKind::Local(..) | ast::StmtKind::Expr(..) | ast::StmtKind::Semi(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | ast::StmtKind::MacCall(ref mac_stmt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:171:54 [INFO] [stdout] | [INFO] [stdout] 171 | if self.visit_attrs(&mac_stmt.attrs, ast::AttrStyle::Outer) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | ast::StmtKind::Empty => (), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | b: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 191 | inner_attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos` [INFO] [stdout] --> src/visitor.rs:209:49 [INFO] [stdout] | [INFO] [stdout] 209 | self.last_pos = self.last_pos + BytePos::from_usize(len); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BytePos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | b: &ast::Block, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | inner_attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | self.visit_attrs(attrs, ast::AttrStyle::Inner); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos` [INFO] [stdout] --> src/visitor.rs:293:70 [INFO] [stdout] | [INFO] [stdout] 293 | let span_in_between = mk_sp(last_hi, span.lo() + BytePos::from_usize(offset)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BytePos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BytePos` [INFO] [stdout] --> src/visitor.rs:366:35 [INFO] [stdout] | [INFO] [stdout] 366 | last_hi = span.lo() + BytePos::from_usize(offset + sub_slice.len()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `BytePos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:376:53 [INFO] [stdout] | [INFO] [stdout] 376 | fn unindent_comment_on_closing_brace(&self, b: &ast::Block) -> bool { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/visitor.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | fk: visit::FnKind<'_>, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | generics: &ast::Generics, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | fd: &ast::FnDecl, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:388:22 [INFO] [stdout] | [INFO] [stdout] 388 | defaultness: ast::Defaultness, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:389:31 [INFO] [stdout] | [INFO] [stdout] 389 | inner_attrs: Option<&[ast::Attribute]>, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `visit` [INFO] [stdout] --> src/visitor.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | visit::FnKind::Fn(_, ident, _, _, Some(ref b)) => { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `visit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | pub(crate) fn visit_item(&mut self, item: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | ast::ItemKind::Use(..) | ast::ItemKind::ExternCrate(_) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:445:38 [INFO] [stdout] | [INFO] [stdout] 445 | ast::ItemKind::Use(..) | ast::ItemKind::ExternCrate(_) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:455:50 [INFO] [stdout] | [INFO] [stdout] 455 | if self.visit_attrs(&item.attrs, ast::AttrStyle::Outer) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | ast::ItemKind::Mod(..) if contains_skip(&item.attrs) => false, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | ast::ItemKind::Mod(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:470:60 [INFO] [stdout] | [INFO] [stdout] 470 | assert!(!self.visit_attrs(&filtered_attrs, ast::AttrStyle::Outer)); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:475:50 [INFO] [stdout] | [INFO] [stdout] 475 | if self.visit_attrs(&item.attrs, ast::AttrStyle::Outer) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:487:17 [INFO] [stdout] | [INFO] [stdout] 487 | ast::ItemKind::Use(ref tree) => self.format_import(item, tree), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/visitor.rs:488:17 [INFO] [stdout] | [INFO] [stdout] 488 | ast::ItemKind::Impl(ref iimpl) => { [WARN] too many lines in the log, truncating it