[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] 79515f17ed4661da864347c90c76c51f9bf86069 [INFO] documenting rust-lang-nursery/rustfmt against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang-nursery%2Frustfmt" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-lang-nursery/rustfmt on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/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-6/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" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded annotate-snippets v0.9.1 [INFO] [stderr] Downloaded packed_simd_2 v0.3.7 [INFO] [stderr] Downloaded yansi-term v0.1.2 [INFO] [stderr] Downloaded rustc-workspace-hack v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 25102072ad2e08ceb1506a6bf60109fd19e1a6c4f3978b1e8ce8f7183023c735 [INFO] running `Command { std: "docker" "start" "-a" "25102072ad2e08ceb1506a6bf60109fd19e1a6c4f3978b1e8ce8f7183023c735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25102072ad2e08ceb1506a6bf60109fd19e1a6c4f3978b1e8ce8f7183023c735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25102072ad2e08ceb1506a6bf60109fd19e1a6c4f3978b1e8ce8f7183023c735", kill_on_drop: false }` [INFO] [stdout] 25102072ad2e08ceb1506a6bf60109fd19e1a6c4f3978b1e8ce8f7183023c735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 65a869637dec8f5c864b0456e4e123e5db6d615daac6c883eeb3f7e07de9740d [INFO] running `Command { std: "docker" "start" "-a" "65a869637dec8f5c864b0456e4e123e5db6d615daac6c883eeb3f7e07de9740d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling rustfmt-nightly v1.4.38 (/opt/rustwide/workdir) [INFO] [stderr] Checking yansi-term v0.1.2 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking annotate-snippets v0.9.1 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling rustfmt-config_proc_macro v0.2.0 (/opt/rustwide/workdir/config_proc_macro) [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking cargo_metadata v0.14.2 [INFO] [stderr] Documenting rustfmt-nightly v1.4.38 (/opt/rustwide/workdir) [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[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 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 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: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: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: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: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: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: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: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 `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: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: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: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: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: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: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/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: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 `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: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: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 `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: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: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: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: 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/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 `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 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: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: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 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 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 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 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 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 `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: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/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 `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 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 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 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 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 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 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 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 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/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/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/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/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/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/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/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/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/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/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/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: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/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 `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: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 `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/expr.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | 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:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | 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:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | 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/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/expr.rs:314:77 [INFO] [stdout] | [INFO] [stdout] 314 | 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/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/expr.rs:327:46 [INFO] [stdout] | [INFO] [stdout] 327 | 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/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/expr.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | 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/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/expr.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | 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:481:19 [INFO] [stdout] | [INFO] [stdout] 481 | 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/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/expr.rs:515:55 [INFO] [stdout] | [INFO] [stdout] 515 | 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/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/expr.rs:546:13 [INFO] [stdout] | [INFO] [stdout] 546 | 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:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | 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/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/expr.rs:548:19 [INFO] [stdout] | [INFO] [stdout] 548 | 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:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | 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/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/expr.rs:567:21 [INFO] [stdout] | [INFO] [stdout] 567 | 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/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/expr.rs:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | 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:599:18 [INFO] [stdout] | [INFO] [stdout] 599 | 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:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | 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:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | 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:608:19 [INFO] [stdout] | [INFO] [stdout] 608 | 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:637:12 [INFO] [stdout] | [INFO] [stdout] 637 | 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:662:22 [INFO] [stdout] | [INFO] [stdout] 662 | 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:663:16 [INFO] [stdout] | [INFO] [stdout] 663 | 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:664:28 [INFO] [stdout] | [INFO] [stdout] 664 | 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/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/expr.rs:665:19 [INFO] [stdout] | [INFO] [stdout] 665 | 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:666:21 [INFO] [stdout] | [INFO] [stdout] 666 | 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/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/expr.rs:676:33 [INFO] [stdout] | [INFO] [stdout] 676 | 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:676:56 [INFO] [stdout] | [INFO] [stdout] 676 | 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:676:68 [INFO] [stdout] | [INFO] [stdout] 676 | 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:684:27 [INFO] [stdout] | [INFO] [stdout] 684 | 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:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | 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:718:19 [INFO] [stdout] | [INFO] [stdout] 718 | 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:719:25 [INFO] [stdout] | [INFO] [stdout] 719 | 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:720:20 [INFO] [stdout] | [INFO] [stdout] 720 | 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/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/expr.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | 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/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 `ast` [INFO] [stdout] --> src/expr.rs:742:28 [INFO] [stdout] | [INFO] [stdout] 742 | 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:742:54 [INFO] [stdout] | [INFO] [stdout] 742 | 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 `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/expr.rs:759:25 [INFO] [stdout] | [INFO] [stdout] 759 | 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:760:19 [INFO] [stdout] | [INFO] [stdout] 760 | 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:761:20 [INFO] [stdout] | [INFO] [stdout] 761 | 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:762:23 [INFO] [stdout] | [INFO] [stdout] 762 | 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/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/expr.rs:782:18 [INFO] [stdout] | [INFO] [stdout] 782 | 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:783:19 [INFO] [stdout] | [INFO] [stdout] 783 | 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:784:20 [INFO] [stdout] | [INFO] [stdout] 784 | 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:785:23 [INFO] [stdout] | [INFO] [stdout] 785 | 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/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/expr.rs:865:16 [INFO] [stdout] | [INFO] [stdout] 865 | 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: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/expr.rs:1148:36 [INFO] [stdout] | [INFO] [stdout] 1148 | 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/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/expr.rs:1166:76 [INFO] [stdout] | [INFO] [stdout] 1166 | 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:1176:13 [INFO] [stdout] | [INFO] [stdout] 1176 | 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:1177:21 [INFO] [stdout] | [INFO] [stdout] 1177 | 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:1189:13 [INFO] [stdout] | [INFO] [stdout] 1189 | 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:1190:21 [INFO] [stdout] | [INFO] [stdout] 1190 | 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/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/expr.rs:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | 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:1208:13 [INFO] [stdout] | [INFO] [stdout] 1208 | 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:1209:21 [INFO] [stdout] | [INFO] [stdout] 1209 | 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:1216:35 [INFO] [stdout] | [INFO] [stdout] 1216 | 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:1220:39 [INFO] [stdout] | [INFO] [stdout] 1220 | 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:1226:9 [INFO] [stdout] | [INFO] [stdout] 1226 | 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/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 `ast` [INFO] [stdout] --> src/expr.rs:1266:56 [INFO] [stdout] | [INFO] [stdout] 1266 | 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:1311:13 [INFO] [stdout] | [INFO] [stdout] 1311 | 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:1311:20 [INFO] [stdout] | [INFO] [stdout] 1311 | 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:1326:37 [INFO] [stdout] | [INFO] [stdout] 1326 | 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:1350:12 [INFO] [stdout] | [INFO] [stdout] 1350 | 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:1401:37 [INFO] [stdout] | [INFO] [stdout] 1401 | 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:1438:19 [INFO] [stdout] | [INFO] [stdout] 1438 | 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:1482:15 [INFO] [stdout] | [INFO] [stdout] 1482 | 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:1512:12 [INFO] [stdout] | [INFO] [stdout] 1512 | 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:1513:13 [INFO] [stdout] | [INFO] [stdout] 1513 | 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:1566:40 [INFO] [stdout] | [INFO] [stdout] 1566 | 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:1572:12 [INFO] [stdout] | [INFO] [stdout] 1572 | 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:1573:20 [INFO] [stdout] | [INFO] [stdout] 1573 | 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 `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/expr.rs:1574:18 [INFO] [stdout] | [INFO] [stdout] 1574 | 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:1575:19 [INFO] [stdout] | [INFO] [stdout] 1575 | 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:1576:14 [INFO] [stdout] | [INFO] [stdout] 1576 | 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/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/expr.rs:1583:21 [INFO] [stdout] | [INFO] [stdout] 1583 | 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/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/expr.rs:1584:18 [INFO] [stdout] | [INFO] [stdout] 1584 | 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/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/expr.rs:1694:14 [INFO] [stdout] | [INFO] [stdout] 1694 | 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:1736:13 [INFO] [stdout] | [INFO] [stdout] 1736 | 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/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/expr.rs:1895:9 [INFO] [stdout] | [INFO] [stdout] 1895 | 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/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/expr.rs:1896:12 [INFO] [stdout] | [INFO] [stdout] 1896 | 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/expr.rs:1904:16 [INFO] [stdout] | [INFO] [stdout] 1904 | 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/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/expr.rs:1933:11 [INFO] [stdout] | [INFO] [stdout] 1933 | 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/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/expr.rs:1934:11 [INFO] [stdout] | [INFO] [stdout] 1934 | 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/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:1935:17 [INFO] [stdout] | [INFO] [stdout] 1935 | 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:2148:18 [INFO] [stdout] | [INFO] [stdout] 2148 | 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:2149:17 [INFO] [stdout] | [INFO] [stdout] 2149 | 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:2150:12 [INFO] [stdout] | [INFO] [stdout] 2150 | 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:2162:37 [INFO] [stdout] | [INFO] [stdout] 2162 | 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/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:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | 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:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | 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:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | 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:32:69 [INFO] [stdout] | [INFO] [stdout] 32 | 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:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | 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:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | 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:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | 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:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | 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:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | 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:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | 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:380:27 [INFO] [stdout] | [INFO] [stdout] 380 | 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/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: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: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 `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 `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 `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 `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: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 `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: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: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: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: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: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: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: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: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: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/expr.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | 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:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | 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:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | 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:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | 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:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | 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:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | 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:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | 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:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | 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:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | 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:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | 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:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | 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:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | 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:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | 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:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | 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:181:11 [INFO] [stdout] | [INFO] [stdout] 181 | | 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:182:11 [INFO] [stdout] | [INFO] [stdout] 182 | | 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:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | | 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:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | 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:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | 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:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | 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:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | 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:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | 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:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | 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/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/expr.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | 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/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/expr.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | 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:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | 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:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | 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:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | 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:261:11 [INFO] [stdout] | [INFO] [stdout] 261 | | 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:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | | 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:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | | 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:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | 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:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | 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:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | 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:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | 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/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/expr.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | 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:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | 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:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | 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:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | 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/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: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 `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/expr.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | 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:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | 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:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | 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:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | 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:314:77 [INFO] [stdout] | [INFO] [stdout] 314 | 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:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | 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:317:25 [INFO] [stdout] | [INFO] [stdout] 317 | 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:317:48 [INFO] [stdout] | [INFO] [stdout] 317 | 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:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | 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:327:46 [INFO] [stdout] | [INFO] [stdout] 327 | 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:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | 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:336:50 [INFO] [stdout] | [INFO] [stdout] 336 | 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:336:75 [INFO] [stdout] | [INFO] [stdout] 336 | 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:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | 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:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | 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:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | 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:409:42 [INFO] [stdout] | [INFO] [stdout] 409 | 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:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | 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:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | 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/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/expr.rs:479:13 [INFO] [stdout] | [INFO] [stdout] 479 | 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:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | 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:481:19 [INFO] [stdout] | [INFO] [stdout] 481 | 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:515:55 [INFO] [stdout] | [INFO] [stdout] 515 | 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:517:9 [INFO] [stdout] | [INFO] [stdout] 517 | 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:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | 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:546:13 [INFO] [stdout] | [INFO] [stdout] 546 | 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:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | 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:548:19 [INFO] [stdout] | [INFO] [stdout] 548 | 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/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/expr.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | 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:567:21 [INFO] [stdout] | [INFO] [stdout] 567 | 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:568:19 [INFO] [stdout] | [INFO] [stdout] 568 | 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:580:10 [INFO] [stdout] | [INFO] [stdout] 580 | (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:580:49 [INFO] [stdout] | [INFO] [stdout] 580 | (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/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/expr.rs:585:10 [INFO] [stdout] | [INFO] [stdout] 585 | (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:599:18 [INFO] [stdout] | [INFO] [stdout] 599 | 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:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | 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:607:21 [INFO] [stdout] | [INFO] [stdout] 607 | 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:608:19 [INFO] [stdout] | [INFO] [stdout] 608 | 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:637:12 [INFO] [stdout] | [INFO] [stdout] 637 | 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:641:9 [INFO] [stdout] | [INFO] [stdout] 641 | 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:662:22 [INFO] [stdout] | [INFO] [stdout] 662 | 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:663:16 [INFO] [stdout] | [INFO] [stdout] 663 | 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:664:28 [INFO] [stdout] | [INFO] [stdout] 664 | 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:665:19 [INFO] [stdout] | [INFO] [stdout] 665 | 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:666:21 [INFO] [stdout] | [INFO] [stdout] 666 | 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/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 `ast` [INFO] [stdout] --> src/expr.rs:676:33 [INFO] [stdout] | [INFO] [stdout] 676 | 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:676:56 [INFO] [stdout] | [INFO] [stdout] 676 | 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:676:68 [INFO] [stdout] | [INFO] [stdout] 676 | 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:678:9 [INFO] [stdout] | [INFO] [stdout] 678 | 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:684:27 [INFO] [stdout] | [INFO] [stdout] 684 | 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:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | 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:698:9 [INFO] [stdout] | [INFO] [stdout] 698 | 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:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | 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:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | 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:712:32 [INFO] [stdout] | [INFO] [stdout] 712 | 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:718:19 [INFO] [stdout] | [INFO] [stdout] 718 | 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:719:25 [INFO] [stdout] | [INFO] [stdout] 719 | 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:720:20 [INFO] [stdout] | [INFO] [stdout] 720 | 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 `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: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: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: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/expr.rs:721:32 [INFO] [stdout] | [INFO] [stdout] 721 | 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:742:28 [INFO] [stdout] | [INFO] [stdout] 742 | 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:742:54 [INFO] [stdout] | [INFO] [stdout] 742 | 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:759:25 [INFO] [stdout] | [INFO] [stdout] 759 | 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:760:19 [INFO] [stdout] | [INFO] [stdout] 760 | 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 `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/expr.rs:761:20 [INFO] [stdout] | [INFO] [stdout] 761 | 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:762:23 [INFO] [stdout] | [INFO] [stdout] 762 | 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/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 `ast` [INFO] [stdout] --> src/expr.rs:782:18 [INFO] [stdout] | [INFO] [stdout] 782 | 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:783:19 [INFO] [stdout] | [INFO] [stdout] 783 | 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:784:20 [INFO] [stdout] | [INFO] [stdout] 784 | 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:785:23 [INFO] [stdout] | [INFO] [stdout] 785 | 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/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 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 crate or module `ast` [INFO] [stdout] --> src/expr.rs:813:16 [INFO] [stdout] | [INFO] [stdout] 813 | 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:865:16 [INFO] [stdout] | [INFO] [stdout] 865 | 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:1081:17 [INFO] [stdout] | [INFO] [stdout] 1081 | 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:1148:36 [INFO] [stdout] | [INFO] [stdout] 1148 | 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:1166:76 [INFO] [stdout] | [INFO] [stdout] 1166 | 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:1176:13 [INFO] [stdout] | [INFO] [stdout] 1176 | 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:1177:21 [INFO] [stdout] | [INFO] [stdout] 1177 | 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:1189:13 [INFO] [stdout] | [INFO] [stdout] 1189 | 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:1190:21 [INFO] [stdout] | [INFO] [stdout] 1190 | 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:1197:33 [INFO] [stdout] | [INFO] [stdout] 1197 | 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:1201:42 [INFO] [stdout] | [INFO] [stdout] 1201 | .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:1208:13 [INFO] [stdout] | [INFO] [stdout] 1208 | 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:1209:21 [INFO] [stdout] | [INFO] [stdout] 1209 | 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:1216:35 [INFO] [stdout] | [INFO] [stdout] 1216 | 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:1217:25 [INFO] [stdout] | [INFO] [stdout] 1217 | 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:1220:39 [INFO] [stdout] | [INFO] [stdout] 1220 | 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:1221:27 [INFO] [stdout] | [INFO] [stdout] 1221 | 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/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 `ast` [INFO] [stdout] --> src/expr.rs:1226:9 [INFO] [stdout] | [INFO] [stdout] 1226 | 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:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | 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:1230:30 [INFO] [stdout] | [INFO] [stdout] 1230 | 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:1231:9 [INFO] [stdout] | [INFO] [stdout] 1231 | 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/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 crate or module `ast` [INFO] [stdout] --> src/expr.rs:1266:56 [INFO] [stdout] | [INFO] [stdout] 1266 | 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:1311:13 [INFO] [stdout] | [INFO] [stdout] 1311 | 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:1311:20 [INFO] [stdout] | [INFO] [stdout] 1311 | 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:1326:37 [INFO] [stdout] | [INFO] [stdout] 1326 | 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:1328:9 [INFO] [stdout] | [INFO] [stdout] 1328 | 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:1329:9 [INFO] [stdout] | [INFO] [stdout] 1329 | 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:1330:9 [INFO] [stdout] | [INFO] [stdout] 1330 | 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:1331:11 [INFO] [stdout] | [INFO] [stdout] 1331 | | 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:1332:11 [INFO] [stdout] | [INFO] [stdout] 1332 | | 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:1333:11 [INFO] [stdout] | [INFO] [stdout] 1333 | | 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:1334:11 [INFO] [stdout] | [INFO] [stdout] 1334 | | 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:1335:11 [INFO] [stdout] | [INFO] [stdout] 1335 | | 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:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | 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/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/expr.rs:1337:9 [INFO] [stdout] | [INFO] [stdout] 1337 | 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:1350:12 [INFO] [stdout] | [INFO] [stdout] 1350 | 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:1355:9 [INFO] [stdout] | [INFO] [stdout] 1355 | 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:1360:9 [INFO] [stdout] | [INFO] [stdout] 1360 | 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:1361:11 [INFO] [stdout] | [INFO] [stdout] 1361 | | 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:1362:11 [INFO] [stdout] | [INFO] [stdout] 1362 | | 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:1363:11 [INFO] [stdout] | [INFO] [stdout] 1363 | | 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:1368:9 [INFO] [stdout] | [INFO] [stdout] 1368 | 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:1368:36 [INFO] [stdout] | [INFO] [stdout] 1368 | 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:1368:63 [INFO] [stdout] | [INFO] [stdout] 1368 | 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:1371:9 [INFO] [stdout] | [INFO] [stdout] 1371 | 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:1371:36 [INFO] [stdout] | [INFO] [stdout] 1371 | 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:1375:9 [INFO] [stdout] | [INFO] [stdout] 1375 | 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:1380:23 [INFO] [stdout] | [INFO] [stdout] 1380 | (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:1381:25 [INFO] [stdout] | [INFO] [stdout] 1381 | | (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:1387:9 [INFO] [stdout] | [INFO] [stdout] 1387 | 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/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/expr.rs:1387:35 [INFO] [stdout] | [INFO] [stdout] 1387 | 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:1387:67 [INFO] [stdout] | [INFO] [stdout] 1387 | 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/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/expr.rs:1392:9 [INFO] [stdout] | [INFO] [stdout] 1392 | 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:1393:11 [INFO] [stdout] | [INFO] [stdout] 1393 | | 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:1394:11 [INFO] [stdout] | [INFO] [stdout] 1394 | | 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:1395:11 [INFO] [stdout] | [INFO] [stdout] 1395 | | 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:1396:11 [INFO] [stdout] | [INFO] [stdout] 1396 | | 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:1401:37 [INFO] [stdout] | [INFO] [stdout] 1401 | 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:1403:9 [INFO] [stdout] | [INFO] [stdout] 1403 | 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:1403:35 [INFO] [stdout] | [INFO] [stdout] 1403 | 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:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | 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:1405:11 [INFO] [stdout] | [INFO] [stdout] 1405 | | 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:1406:11 [INFO] [stdout] | [INFO] [stdout] 1406 | | 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: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/expr.rs:1407:11 [INFO] [stdout] | [INFO] [stdout] 1407 | | 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:1408:11 [INFO] [stdout] | [INFO] [stdout] 1408 | | 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/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: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: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: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 `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/expr.rs:1438:19 [INFO] [stdout] | [INFO] [stdout] 1438 | 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 `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/expr.rs:1458:16 [INFO] [stdout] | [INFO] [stdout] 1458 | 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:1482:15 [INFO] [stdout] | [INFO] [stdout] 1482 | 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/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 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 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.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/expr.rs:1512:12 [INFO] [stdout] | [INFO] [stdout] 1512 | 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:1513:13 [INFO] [stdout] | [INFO] [stdout] 1513 | 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:1566:40 [INFO] [stdout] | [INFO] [stdout] 1566 | 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:1572:12 [INFO] [stdout] | [INFO] [stdout] 1572 | 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:1573:20 [INFO] [stdout] | [INFO] [stdout] 1573 | 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:1574:18 [INFO] [stdout] | [INFO] [stdout] 1574 | 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:1575:19 [INFO] [stdout] | [INFO] [stdout] 1575 | 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:1576:14 [INFO] [stdout] | [INFO] [stdout] 1576 | 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:1583:21 [INFO] [stdout] | [INFO] [stdout] 1583 | 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:1584:18 [INFO] [stdout] | [INFO] [stdout] 1584 | 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/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: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: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: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: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 `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/expr.rs:1593:9 [INFO] [stdout] | [INFO] [stdout] 1593 | 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:1594:9 [INFO] [stdout] | [INFO] [stdout] 1594 | 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:1597:9 [INFO] [stdout] | [INFO] [stdout] 1597 | 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:1597:36 [INFO] [stdout] | [INFO] [stdout] 1597 | 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 `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/expr.rs:1619:17 [INFO] [stdout] | [INFO] [stdout] 1619 | 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:1620:17 [INFO] [stdout] | [INFO] [stdout] 1620 | 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:1621:17 [INFO] [stdout] | [INFO] [stdout] 1621 | 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/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/expr.rs:1694:14 [INFO] [stdout] | [INFO] [stdout] 1694 | 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:1736:13 [INFO] [stdout] | [INFO] [stdout] 1736 | 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/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: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 `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/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/expr.rs:1895:9 [INFO] [stdout] | [INFO] [stdout] 1895 | 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:1896:12 [INFO] [stdout] | [INFO] [stdout] 1896 | 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/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 `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 crate or module `ast` [INFO] [stdout] --> src/expr.rs:1900:35 [INFO] [stdout] | [INFO] [stdout] 1900 | 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:1904:16 [INFO] [stdout] | [INFO] [stdout] 1904 | 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/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: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 crate or module `ast` [INFO] [stdout] --> src/expr.rs:1920:21 [INFO] [stdout] | [INFO] [stdout] 1920 | 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:1921:27 [INFO] [stdout] | [INFO] [stdout] 1921 | | 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:1922:27 [INFO] [stdout] | [INFO] [stdout] 1922 | | 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:1923:27 [INFO] [stdout] | [INFO] [stdout] 1923 | | 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:1933:11 [INFO] [stdout] | [INFO] [stdout] 1933 | 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:1934:11 [INFO] [stdout] | [INFO] [stdout] 1934 | 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:1935:17 [INFO] [stdout] | [INFO] [stdout] 1935 | 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/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/expr.rs:2148:18 [INFO] [stdout] | [INFO] [stdout] 2148 | 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:2149:17 [INFO] [stdout] | [INFO] [stdout] 2149 | 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:2150:12 [INFO] [stdout] | [INFO] [stdout] 2150 | 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:2154:10 [INFO] [stdout] | [INFO] [stdout] 2154 | (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:2154:32 [INFO] [stdout] | [INFO] [stdout] 2154 | (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:2155:10 [INFO] [stdout] | [INFO] [stdout] 2155 | (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:2155:32 [INFO] [stdout] | [INFO] [stdout] 2155 | (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:2156:10 [INFO] [stdout] | [INFO] [stdout] 2156 | (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:2156:32 [INFO] [stdout] | [INFO] [stdout] 2156 | (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:2157:10 [INFO] [stdout] | [INFO] [stdout] 2157 | (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:2157:32 [INFO] [stdout] | [INFO] [stdout] 2157 | (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:2162:37 [INFO] [stdout] | [INFO] [stdout] 2162 | 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:2164:9 [INFO] [stdout] | [INFO] [stdout] 2164 | 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:2165:9 [INFO] [stdout] | [INFO] [stdout] 2165 | 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/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/expr.rs:2166:11 [INFO] [stdout] | [INFO] [stdout] 2166 | | 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:2167:11 [INFO] [stdout] | [INFO] [stdout] 2167 | | 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:2168:11 [INFO] [stdout] | [INFO] [stdout] 2168 | | 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:2169:11 [INFO] [stdout] | [INFO] [stdout] 2169 | | 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/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 crate or module `ast` [INFO] [stdout] --> src/imports.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | 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:27:59 [INFO] [stdout] | [INFO] [stdout] 27 | 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:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | 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:32:69 [INFO] [stdout] | [INFO] [stdout] 32 | 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 `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 `ast` [INFO] [stdout] --> src/imports.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | 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 `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 `ast` [INFO] [stdout] --> src/imports.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | 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 `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/imports.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | 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:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | 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/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 `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 crate or module `ast` [INFO] [stdout] --> src/imports.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | 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:376:13 [INFO] [stdout] | [INFO] [stdout] 376 | 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:378:28 [INFO] [stdout] | [INFO] [stdout] 378 | 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/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 crate or module `ast` [INFO] [stdout] --> src/imports.rs:380:27 [INFO] [stdout] | [INFO] [stdout] 380 | 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:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | 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:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | 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:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | 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:456:38 [INFO] [stdout] | [INFO] [stdout] 456 | 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:574:22 [INFO] [stdout] | [INFO] [stdout] 574 | 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:575:27 [INFO] [stdout] | [INFO] [stdout] 575 | 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:582:22 [INFO] [stdout] | [INFO] [stdout] 582 | 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:583:27 [INFO] [stdout] | [INFO] [stdout] 583 | 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 `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 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/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/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 `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 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 `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 `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 `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 `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/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/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/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/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: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: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:169:35 [INFO] [stdout] | [INFO] [stdout] 169 | 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 `ast` [INFO] [stdout] --> src/reorder.rs:213:20 [INFO] [stdout] | [INFO] [stdout] 213 | 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:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | 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:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | 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:307:72 [INFO] [stdout] | [INFO] [stdout] 307 | 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:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | 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 `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 `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 `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 `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 `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 `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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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: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/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/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/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/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/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/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/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/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/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/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: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/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 `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/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/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/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/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: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/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/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: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: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: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: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: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/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/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/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/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: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 `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: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/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/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/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 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 `ast` [INFO] [stdout] --> src/visitor.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | 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:192:31 [INFO] [stdout] | [INFO] [stdout] 192 | 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:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | 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:218:31 [INFO] [stdout] | [INFO] [stdout] 218 | 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 `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/visitor.rs:377:53 [INFO] [stdout] | [INFO] [stdout] 377 | 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:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | 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/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/visitor.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | 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:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | 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/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 `ast` [INFO] [stdout] --> src/visitor.rs:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:390:31 [INFO] [stdout] | [INFO] [stdout] 390 | 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:432:48 [INFO] [stdout] | [INFO] [stdout] 432 | 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 `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/visitor.rs:598:19 [INFO] [stdout] | [INFO] [stdout] 598 | ty_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: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 `ast` [INFO] [stdout] --> src/visitor.rs:670:52 [INFO] [stdout] | [INFO] [stdout] 670 | pub(crate) fn visit_trait_item(&mut self, ti: &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/visitor.rs:674:51 [INFO] [stdout] | [INFO] [stdout] 674 | pub(crate) fn visit_impl_item(&mut self, ii: &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/visitor.rs:678:35 [INFO] [stdout] | [INFO] [stdout] 678 | fn visit_mac(&mut self, mac: &ast::MacCall, ident: Option, pos: MacroPosition) { [INFO] [stdout] | ^^^ 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/visitor.rs:678:63 [INFO] [stdout] | [INFO] [stdout] 678 | fn visit_mac(&mut self, mac: &ast::MacCall, ident: Option, pos: MacroPosition) { [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/visitor.rs:731:18 [INFO] [stdout] | [INFO] [stdout] 731 | 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/visitor.rs:800:51 [INFO] [stdout] | [INFO] [stdout] 800 | pub(crate) fn visit_attrs(&mut self, attrs: &[ast::Attribute], style: ast::AttrStyle) -> 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/visitor.rs:800:75 [INFO] [stdout] | [INFO] [stdout] 800 | pub(crate) fn visit_attrs(&mut self, attrs: &[ast::Attribute], style: ast::AttrStyle) -> 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/visitor.rs:847:51 [INFO] [stdout] | [INFO] [stdout] 847 | fn is_unknown_rustfmt_attr(&self, 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 `ast` [INFO] [stdout] --> src/visitor.rs:854:61 [INFO] [stdout] | [INFO] [stdout] 854 | fn walk_mod_items(&mut self, items: &[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/visitor.rs:901:40 [INFO] [stdout] | [INFO] [stdout] 901 | fn walk_block_stmts(&mut self, 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:907:20 [INFO] [stdout] | [INFO] [stdout] 907 | mod_kind: &ast::ModKind, [INFO] [stdout] | ^^^ use of undeclared crate 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:908:19 [INFO] [stdout] | [INFO] [stdout] 908 | 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/visitor.rs:909:15 [INFO] [stdout] | [INFO] [stdout] 909 | 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 `symbol` [INFO] [stdout] --> src/visitor.rs:911:16 [INFO] [stdout] | [INFO] [stdout] 911 | 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/visitor.rs:912:18 [INFO] [stdout] | [INFO] [stdout] 912 | attrs: &[ast::Attribute], [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/utils.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn depr_skip_annotation() -> Symbol { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Symbol` in this scope [INFO] [stdout] --> src/utils.rs:23:36 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn skip_annotation() -> Symbol { [INFO] [stdout] | ^^^^^^ not found in this scope [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[E0412]: cannot find type `Visibility` in this scope [INFO] [stdout] --> src/utils.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn is_same_visibility(a: &Visibility, b: &Visibility) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `Visibility` in this scope [INFO] [stdout] --> src/utils.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) fn is_same_visibility(a: &Visibility, b: &Visibility) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Visibility` in this scope [INFO] [stdout] --> src/utils.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | vis: &Visibility, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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[E0412]: cannot find type `MetaItem` in this scope [INFO] [stdout] --> src/utils.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | fn is_skip(meta_item: &MetaItem) -> bool { [INFO] [stdout] | ^^^^^^^^ not found in this scope [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[E0412]: cannot find type `NestedMetaItem` in this scope [INFO] [stdout] --> src/utils.rs:273:31 [INFO] [stdout] | [INFO] [stdout] 273 | fn is_skip_nested(meta_item: &NestedMetaItem) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::overflow::OverflowableItem::NestedMetaItem`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 273 | fn is_skip_nested(meta_item: &crate::overflow::OverflowableItem) -> bool { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/utils.rs:281:38 [INFO] [stdout] | [INFO] [stdout] 281 | pub(crate) fn contains_skip(attrs: &[Attribute]) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope [INFO] [stdout] --> src/utils.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | pub(crate) fn mk_sp(lo: BytePos, hi: BytePos) -> Span { [INFO] [stdout] | ^^^^^^^ not found in this scope [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[E0412]: cannot find type `BytePos` in this scope [INFO] [stdout] --> src/utils.rs:358:38 [INFO] [stdout] | [INFO] [stdout] 358 | pub(crate) fn mk_sp(lo: BytePos, hi: BytePos) -> Span { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/utils.rs:358:50 [INFO] [stdout] | [INFO] [stdout] 358 | pub(crate) fn mk_sp(lo: BytePos, hi: BytePos) -> Span { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BytePos` in this scope [INFO] [stdout] --> src/utils.rs:362:37 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) fn mk_sp_lo_plus_one(lo: BytePos) -> Span { [INFO] [stdout] | ^^^^^^^ not found in this scope [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[E0412]: cannot find type `Span` in this scope [INFO] [stdout] --> src/utils.rs:362:49 [INFO] [stdout] | [INFO] [stdout] 362 | pub(crate) fn mk_sp_lo_plus_one(lo: BytePos) -> Span { [INFO] [stdout] | ^^^^ not found in this scope [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[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/utils.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | impl NodeIdExt for NodeId { [INFO] [stdout] | ^^^^^^ not found in this scope [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[E0412]: cannot find type `NodeId` in this scope [INFO] [stdout] --> src/utils.rs:688:18 [INFO] [stdout] | [INFO] [stdout] 688 | fn root() -> NodeId { [INFO] [stdout] | ^^^^^^ not found in this scope [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) => { [WARN] too many lines in the log, truncating it