[INFO] fetching crate c2rust-ast-printer 0.15.0... [INFO] testing c2rust-ast-printer-0.15.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate c2rust-ast-printer 0.15.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate c2rust-ast-printer 0.15.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate c2rust-ast-printer 0.15.0 [INFO] finished tweaking crates.io crate c2rust-ast-printer 0.15.0 [INFO] tweaked toml for crates.io crate c2rust-ast-printer 0.15.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ff6c6b11eea970597e4fcbbf7df024da66d8694e8678e6533cd7df9ea8904ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0ff6c6b11eea970597e4fcbbf7df024da66d8694e8678e6533cd7df9ea8904ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ff6c6b11eea970597e4fcbbf7df024da66d8694e8678e6533cd7df9ea8904ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff6c6b11eea970597e4fcbbf7df024da66d8694e8678e6533cd7df9ea8904ff", kill_on_drop: false }` [INFO] [stdout] 0ff6c6b11eea970597e4fcbbf7df024da66d8694e8678e6533cd7df9ea8904ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b50f752fbb1a0176c8e8d5e870bcc77b3cfd5bdf1af7f9ce3eee4844a869cc8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b50f752fbb1a0176c8e8d5e870bcc77b3cfd5bdf1af7f9ce3eee4844a869cc8c", kill_on_drop: false }` [INFO] [stderr] Compiling c2rust-ast-printer v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate rustc_target; [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 `syntax` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax_pos` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate syntax_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | Path(&'a 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/pprust.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | Ident(&'a ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | Name(&'a ast::Name), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | 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/pprust.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | 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/pprust.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | SubItem(ast::NodeId), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | 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/pprust.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | 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/pprust.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | Crate(&'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 `comments` [INFO] [stdout] --> src/pprust.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | comments: Vec, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | comments: Vec, [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:82:34 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn next(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | ) -> Option { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | if cmnt.style != comments::Trailing { return None; } [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | impl<'a> Extend for Comments<'a> { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | where I: IntoIterator [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pprust.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | TokenTree::Token(token) => match token.kind { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | token::Comma => false, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | token::Plus => "+", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | token::Minus => "-", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | token::Star => "*", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | token::Slash => "/", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | token::Percent => "%", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | token::Caret => "^", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | token::And => "&", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | token::Or => "|", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | token::Shl => "<<", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | token::Shr => ">>", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn literal_to_string(lit: token::Lit) -> String { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | let token::Lit { kind, symbol, suffix } = lit; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | token::Byte => format!("b'{}'", symbol), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | token::Char => format!("'{}'", symbol), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | token::Str => format!("\"{}\"", symbol), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | token::StrRaw(n) => format!("r{delim}\"{string}\"{delim}", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | token::ByteStr => format!("b\"{}\"", symbol), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | token::ByteStrRaw(n) => format!("br{delim}\"{string}\"{delim}", [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | token::Integer | [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | token::Float | [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | token::Bool | [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | token::Err => symbol.to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:248:35 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn ast_ident_to_string(ident: ast::Ident, is_raw: bool) -> 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/pprust.rs:263:26 [INFO] [stdout] | [INFO] [stdout] 263 | fn ident_to_string(name: ast::Name, is_raw: bool, convert_dollar_crate: Option) -> 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 `kw` [INFO] [stdout] --> src/pprust.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | if name == 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 `token` [INFO] [stdout] --> src/pprust.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | token::Eq => "=".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | token::Lt => "<".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | token::Le => "<=".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | token::EqEq => "==".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | token::Ne => "!=".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | token::Ge => ">=".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | token::Gt => ">".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | token::Not => "!".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | token::Tilde => "~".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | token::OrOr => "||".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | token::AndAnd => "&&".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | token::BinOp(op) => binop_to_string(op).to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | token::BinOpEq(op) => format!("{}=", binop_to_string(op)), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | token::At => "@".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | token::Dot => ".".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | token::DotDot => "..".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | token::DotDotDot => "...".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | token::DotDotEq => "..=".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | token::Comma => ",".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | token::Semi => ";".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | token::Colon => ":".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | token::ModSep => "::".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | token::RArrow => "->".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | token::LArrow => "<-".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | token::FatArrow => "=>".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | token::OpenDelim(token::Paren) => "(".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 315 | token::OpenDelim(token::Paren) => "(".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | token::CloseDelim(token::Paren) => ")".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | token::CloseDelim(token::Paren) => ")".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | token::OpenDelim(token::Bracket) => "[".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:317:26 [INFO] [stdout] | [INFO] [stdout] 317 | token::OpenDelim(token::Bracket) => "[".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | token::CloseDelim(token::Bracket) => "]".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:318:27 [INFO] [stdout] | [INFO] [stdout] 318 | token::CloseDelim(token::Bracket) => "]".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | token::OpenDelim(token::Brace) => "{".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | token::OpenDelim(token::Brace) => "{".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | token::CloseDelim(token::Brace) => "}".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | token::CloseDelim(token::Brace) => "}".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | token::OpenDelim(token::NoDelim) | [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | token::OpenDelim(token::NoDelim) | [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | token::CloseDelim(token::NoDelim) => " ".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:322:27 [INFO] [stdout] | [INFO] [stdout] 322 | token::CloseDelim(token::NoDelim) => " ".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | token::Pound => "#".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | token::Dollar => "$".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | token::Question => "?".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | token::SingleQuote => "'".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | token::Literal(lit) => literal_to_string(lit), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | token::Ident(s, is_raw) => ident_to_string(s, is_raw, convert_dollar_crate), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | token::Lifetime(s) => s.to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | token::DocComment(s) => s.to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | token::Eof => "".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | token::Whitespace => " ".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | token::Comment => "/* */".to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | token::Shebang(s) => format!("/* shebang: {}*/", s), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | token::Unknown(s) => s.to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | token::Interpolated(ref nt) => nonterminal_to_string(nt), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | token::NtExpr(ref e) => expr_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | token::NtMeta(ref e) => attr_item_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | token::NtTy(ref e) => ty_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | token::NtPath(ref e) => path_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | token::NtItem(ref e) => item_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | token::NtBlock(ref e) => block_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | token::NtStmt(ref e) => stmt_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | token::NtPat(ref e) => pat_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | token::NtIdent(e, is_raw) => ast_ident_to_string(e, is_raw), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | token::NtLifetime(e) => e.to_string(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | token::NtLiteral(ref e) => expr_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | token::NtTT(ref tree) => tt_to_string(tree.clone()), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | token::NtImplItem(ref e) => impl_item_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | token::NtTraitItem(ref e) => trait_item_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | token::NtVis(ref e) => vis_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | token::NtForeignItem(ref e) => foreign_item_to_string(e), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:378:26 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn ty_to_string(ty: &ast::Ty) -> 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/pprust.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn bounds_to_string(bounds: &[ast::GenericBound]) -> 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/pprust.rs:386:28 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn pat_to_string(pat: &ast::Pat) -> 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/pprust.rs:390:27 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn expr_to_string(e: &ast::Expr) -> 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 `tokenstream` [INFO] [stdout] --> src/pprust.rs:394:25 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn tt_to_string(tt: tokenstream::TokenTree) -> String { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tokenstream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:402:30 [INFO] [stdout] | [INFO] [stdout] 402 | pub fn stmt_to_string(stmt: &ast::Stmt) -> 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/pprust.rs:406:27 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn item_to_string(i: &ast::Item) -> 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/pprust.rs:410:32 [INFO] [stdout] | [INFO] [stdout] 410 | pub fn impl_item_to_string(i: &ast::ImplItem) -> 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/pprust.rs:414:33 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn trait_item_to_string(i: &ast::TraitItem) -> 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/pprust.rs:418:51 [INFO] [stdout] | [INFO] [stdout] 418 | pub fn generic_params_to_string(generic_params: &[ast::GenericParam]) -> 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/pprust.rs:422:27 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn path_to_string(p: &ast::Path) -> 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/pprust.rs:426:35 [INFO] [stdout] | [INFO] [stdout] 426 | pub fn path_segment_to_string(p: &ast::PathSegment) -> 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/pprust.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | pub fn vis_to_string(v: &ast::Visibility) -> 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/pprust.rs:434:30 [INFO] [stdout] | [INFO] [stdout] 434 | pub fn block_to_string(blk: &ast::Block) -> 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/pprust.rs:444:38 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn meta_list_item_to_string(li: &ast::NestedMetaItem) -> 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/pprust.rs:448:29 [INFO] [stdout] | [INFO] [stdout] 448 | fn attr_item_to_string(ai: &ast::AttrItem) -> 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/pprust.rs:452:35 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn attribute_to_string(attr: &ast::Attribute) -> 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/pprust.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn param_to_string(arg: &ast::Param) -> 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/pprust.rs:460:37 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn foreign_item_to_string(arg: &ast::ForeignItem) -> 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/pprust.rs:464:35 [INFO] [stdout] | [INFO] [stdout] 464 | pub fn visibility_qualified(vis: &ast::Visibility, s: &str) -> 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/pprust.rs:483:38 [INFO] [stdout] | [INFO] [stdout] 483 | fn print_ident(&mut self, ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:484:45 [INFO] [stdout] | [INFO] [stdout] 484 | fn print_generic_args(&mut self, args: &ast::GenericArgs, colons_before_params: 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 `comments` [INFO] [stdout] --> src/pprust.rs:521:29 [INFO] [stdout] | [INFO] [stdout] 521 | cmnt: &comments::Comment) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:523:13 [INFO] [stdout] | [INFO] [stdout] 523 | comments::Mixed => { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | comments::Isolated => { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:540:13 [INFO] [stdout] | [INFO] [stdout] 540 | comments::Trailing => { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | comments::BlankLine => { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `comments` [INFO] [stdout] --> src/pprust.rs:577:42 [INFO] [stdout] | [INFO] [stdout] 577 | fn next_comment(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `comments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:581:39 [INFO] [stdout] | [INFO] [stdout] 581 | fn print_literal(&mut self, lit: &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/pprust.rs:587:28 [INFO] [stdout] | [INFO] [stdout] 587 | style: ast::StrStyle) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | ast::StrStyle::Cooked => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:592:13 [INFO] [stdout] | [INFO] [stdout] 592 | ast::StrStyle::Raw(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/pprust.rs:602:40 [INFO] [stdout] | [INFO] [stdout] 602 | ... 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/pprust.rs:603:45 [INFO] [stdout] | [INFO] [stdout] 603 | self.print_either_attributes(attrs, ast::AttrStyle::Inner, false, 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/pprust.rs:607:61 [INFO] [stdout] | [INFO] [stdout] 607 | ... 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/pprust.rs:609:45 [INFO] [stdout] | [INFO] [stdout] 609 | self.print_either_attributes(attrs, ast::AttrStyle::Inner, false, 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/pprust.rs:613:40 [INFO] [stdout] | [INFO] [stdout] 613 | ... 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/pprust.rs:614:45 [INFO] [stdout] | [INFO] [stdout] 614 | self.print_either_attributes(attrs, ast::AttrStyle::Outer, false, 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/pprust.rs:618:47 [INFO] [stdout] | [INFO] [stdout] 618 | ... 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/pprust.rs:619:45 [INFO] [stdout] | [INFO] [stdout] 619 | self.print_either_attributes(attrs, ast::AttrStyle::Inner, 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/pprust.rs:623:47 [INFO] [stdout] | [INFO] [stdout] 623 | ... 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/pprust.rs:624:45 [INFO] [stdout] | [INFO] [stdout] 624 | self.print_either_attributes(attrs, ast::AttrStyle::Outer, 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/pprust.rs:628:40 [INFO] [stdout] | [INFO] [stdout] 628 | ... 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/pprust.rs:629:37 [INFO] [stdout] | [INFO] [stdout] 629 | ... kind: 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/pprust.rs:647:42 [INFO] [stdout] | [INFO] [stdout] 647 | fn print_attribute(&mut self, attr: &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/pprust.rs:651:49 [INFO] [stdout] | [INFO] [stdout] 651 | fn print_attribute_inline(&mut self, attr: &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/pprust.rs:658:13 [INFO] [stdout] | [INFO] [stdout] 658 | ast::AttrKind::Normal(ref item) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:660:21 [INFO] [stdout] | [INFO] [stdout] 660 | ast::AttrStyle::Inner => self.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/pprust.rs:661:21 [INFO] [stdout] | [INFO] [stdout] 661 | ast::AttrStyle::Outer => self.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/pprust.rs:666:13 [INFO] [stdout] | [INFO] [stdout] 666 | ast::AttrKind::DocComment(comment) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:673:42 [INFO] [stdout] | [INFO] [stdout] 673 | fn print_attr_item(&mut self, item: &ast::AttrItem, 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 type `MacArgs` [INFO] [stdout] --> src/pprust.rs:676:13 [INFO] [stdout] | [INFO] [stdout] 676 | MacArgs::Delimited(_, delim, tokens) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `MacArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacDelimiter` [INFO] [stdout] --> src/pprust.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | MacDelimiter::Parenthesis => DelimToken::Paren, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MacDelimiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/pprust.rs:678:50 [INFO] [stdout] | [INFO] [stdout] 678 | MacDelimiter::Parenthesis => DelimToken::Paren, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacDelimiter` [INFO] [stdout] --> src/pprust.rs:679:21 [INFO] [stdout] | [INFO] [stdout] 679 | MacDelimiter::Bracket => DelimToken::Bracket, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MacDelimiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/pprust.rs:679:46 [INFO] [stdout] | [INFO] [stdout] 679 | MacDelimiter::Bracket => DelimToken::Bracket, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacDelimiter` [INFO] [stdout] --> src/pprust.rs:680:21 [INFO] [stdout] | [INFO] [stdout] 680 | MacDelimiter::Brace => DelimToken::Brace, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MacDelimiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/pprust.rs:680:44 [INFO] [stdout] | [INFO] [stdout] 680 | MacDelimiter::Brace => DelimToken::Brace, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacArgs` [INFO] [stdout] --> src/pprust.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | MacArgs::Empty | MacArgs::Eq(..) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `MacArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacArgs` [INFO] [stdout] --> src/pprust.rs:693:30 [INFO] [stdout] | [INFO] [stdout] 693 | MacArgs::Empty | MacArgs::Eq(..) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `MacArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MacArgs` [INFO] [stdout] --> src/pprust.rs:695:24 [INFO] [stdout] | [INFO] [stdout] 695 | if let MacArgs::Eq(_, tokens) = &item.args { [INFO] [stdout] | ^^^^^^^ use of undeclared type `MacArgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:705:47 [INFO] [stdout] | [INFO] [stdout] 705 | fn print_meta_list_item(&mut self, item: &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/pprust.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | ast::NestedMetaItem::MetaItem(ref mi) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:710:13 [INFO] [stdout] | [INFO] [stdout] 710 | ast::NestedMetaItem::Literal(ref 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/pprust.rs:716:42 [INFO] [stdout] | [INFO] [stdout] 716 | fn print_meta_item(&mut self, item: &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/pprust.rs:719:13 [INFO] [stdout] | [INFO] [stdout] 719 | ast::MetaItemKind::Word => self.print_path(&item.path, false, 0), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:720:13 [INFO] [stdout] | [INFO] [stdout] 720 | ast::MetaItemKind::NameValue(ref 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/pprust.rs:726:13 [INFO] [stdout] | [INFO] [stdout] 726 | ast::MetaItemKind::List(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 `tokenstream` [INFO] [stdout] --> src/pprust.rs:745:32 [INFO] [stdout] | [INFO] [stdout] 745 | fn print_tt(&mut self, tt: tokenstream::TokenTree, convert_dollar_crate: bool) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tokenstream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pprust.rs:747:13 [INFO] [stdout] | [INFO] [stdout] 747 | TokenTree::Token(ref token) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:750:21 [INFO] [stdout] | [INFO] [stdout] 750 | token::DocComment(..) => { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenTree` [INFO] [stdout] --> src/pprust.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | TokenTree::Delimited(dspan, delim, tts) => { [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TokenTree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokenstream` [INFO] [stdout] --> src/pprust.rs:764:34 [INFO] [stdout] | [INFO] [stdout] 764 | fn print_tts(&mut self, tts: tokenstream::TokenStream, convert_dollar_crate: bool) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `tokenstream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:777:23 [INFO] [stdout] | [INFO] [stdout] 777 | ident: 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 `DelimToken` [INFO] [stdout] --> src/pprust.rs:783:21 [INFO] [stdout] | [INFO] [stdout] 783 | if delim == 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/pprust.rs:799:13 [INFO] [stdout] | [INFO] [stdout] 799 | 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 `token` [INFO] [stdout] --> src/pprust.rs:808:50 [INFO] [stdout] | [INFO] [stdout] 808 | _ => self.word(token_kind_to_string(&token::OpenDelim(delim))), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DelimToken` [INFO] [stdout] --> src/pprust.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | DelimToken::Brace => self.bclose(span), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DelimToken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/pprust.rs:815:50 [INFO] [stdout] | [INFO] [stdout] 815 | _ => self.word(token_kind_to_string(&token::CloseDelim(delim))), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:819:37 [INFO] [stdout] | [INFO] [stdout] 819 | fn print_path(&mut self, path: &ast::Path, colons_before_params: bool, depth: usize) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:830:48 [INFO] [stdout] | [INFO] [stdout] 830 | fn print_path_segment(&mut self, segment: &ast::PathSegment, colons_before_params: 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 `kw` [INFO] [stdout] --> src/pprust.rs:831:34 [INFO] [stdout] | [INFO] [stdout] 831 | if segment.ident.name != kw::PathRoot { [INFO] [stdout] | ^^ use of undeclared crate or module `kw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:888:38 [INFO] [stdout] | [INFO] [stdout] 888 | fn print_ident(&mut self, ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:893:45 [INFO] [stdout] | [INFO] [stdout] 893 | fn print_generic_args(&mut self, args: &ast::GenericArgs, colons_before_params: 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/pprust.rs:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | ast::GenericArgs::AngleBracketed(ref data) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:915:25 [INFO] [stdout] | [INFO] [stdout] 915 | ast::AssocTyConstraintKind::Equality { 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/pprust.rs:919:25 [INFO] [stdout] | [INFO] [stdout] 919 | ast::AssocTyConstraintKind::Bound { ref bounds } => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:929:13 [INFO] [stdout] | [INFO] [stdout] 929 | ast::GenericArgs::Parenthesized(ref data) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:984:40 [INFO] [stdout] | [INFO] [stdout] 984 | ... exprs: &[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/pprust.rs:990:16 [INFO] [stdout] | [INFO] [stdout] 990 | _mod: &ast::Mod, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:991:18 [INFO] [stdout] | [INFO] [stdout] 991 | 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/pprust.rs:999:48 [INFO] [stdout] | [INFO] [stdout] 999 | pub fn print_foreign_mod(&mut self, nmod: &ast::ForeignMod, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1000:41 [INFO] [stdout] | [INFO] [stdout] 1000 | ... 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/pprust.rs:1007:60 [INFO] [stdout] | [INFO] [stdout] 1007 | pub fn print_opt_lifetime(&mut self, lifetime: &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 `GenericArg` [INFO] [stdout] --> src/pprust.rs:1016:13 [INFO] [stdout] | [INFO] [stdout] 1016 | GenericArg::Lifetime(lt) => self.print_lifetime(*lt), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArg` [INFO] [stdout] --> src/pprust.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | GenericArg::Type(ty) => self.print_type(ty), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericArg` [INFO] [stdout] --> src/pprust.rs:1018:13 [INFO] [stdout] | [INFO] [stdout] 1018 | GenericArg::Const(ct) => self.print_expr(&ct.value), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GenericArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1022:39 [INFO] [stdout] | [INFO] [stdout] 1022 | pub fn print_type(&mut self, 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/pprust.rs:1026:13 [INFO] [stdout] | [INFO] [stdout] 1026 | ast::TyKind::Slice(ref ty) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1031:13 [INFO] [stdout] | [INFO] [stdout] 1031 | ast::TyKind::Ptr(ref mt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1035:13 [INFO] [stdout] | [INFO] [stdout] 1035 | ast::TyKind::Rptr(ref lifetime, ref mt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1040:13 [INFO] [stdout] | [INFO] [stdout] 1040 | ast::TyKind::Never => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | ast::TyKind::Tup(ref elts) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1052:13 [INFO] [stdout] | [INFO] [stdout] 1052 | ast::TyKind::Paren(ref typ) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1057:13 [INFO] [stdout] | [INFO] [stdout] 1057 | ast::TyKind::BareFn(ref f) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1064:13 [INFO] [stdout] | [INFO] [stdout] 1064 | ast::TyKind::Path(None, 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/pprust.rs:1067:13 [INFO] [stdout] | [INFO] [stdout] 1067 | ast::TyKind::Path(Some(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/pprust.rs:1070:13 [INFO] [stdout] | [INFO] [stdout] 1070 | ast::TyKind::TraitObject(ref bounds, syntax) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1071:43 [INFO] [stdout] | [INFO] [stdout] 1071 | let prefix = if syntax == ast::TraitObjectSyntax::Dyn { "dyn" } else { "" }; [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1074:13 [INFO] [stdout] | [INFO] [stdout] 1074 | ast::TyKind::ImplTrait(_, ref bounds) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | ast::TyKind::Array(ref ty, ref length) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1084:13 [INFO] [stdout] | [INFO] [stdout] 1084 | ast::TyKind::Typeof(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/pprust.rs:1089:13 [INFO] [stdout] | [INFO] [stdout] 1089 | ast::TyKind::Infer => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1092:13 [INFO] [stdout] | [INFO] [stdout] 1092 | ast::TyKind::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/pprust.rs:1097:13 [INFO] [stdout] | [INFO] [stdout] 1097 | ast::TyKind::ImplicitSelf => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1100:13 [INFO] [stdout] | [INFO] [stdout] 1100 | ast::TyKind::Mac(ref 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/pprust.rs:1103:13 [INFO] [stdout] | [INFO] [stdout] 1103 | ast::TyKind::CVarArgs => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1111:38 [INFO] [stdout] | [INFO] [stdout] 1111 | ... 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 `ast` [INFO] [stdout] --> src/pprust.rs:1116:13 [INFO] [stdout] | [INFO] [stdout] 1116 | ast::ForeignItemKind::Fn(ref decl, ref 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/pprust.rs:1118:37 [INFO] [stdout] | [INFO] [stdout] 1118 | self.print_fn(decl, ast::FnHeader::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/pprust.rs:1125:13 [INFO] [stdout] | [INFO] [stdout] 1125 | ast::ForeignItemKind::Static(ref t, 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/pprust.rs:1127:25 [INFO] [stdout] | [INFO] [stdout] 1127 | if m == ast::Mutability::Mutable { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1137:13 [INFO] [stdout] | [INFO] [stdout] 1137 | ast::ForeignItemKind::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/pprust.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | ast::ForeignItemKind::Macro(ref 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/pprust.rs:1154:38 [INFO] [stdout] | [INFO] [stdout] 1154 | ... ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:1155:36 [INFO] [stdout] | [INFO] [stdout] 1155 | ... 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/pprust.rs:1156:48 [INFO] [stdout] | [INFO] [stdout] 1156 | ... default: 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/pprust.rs:1157:37 [INFO] [stdout] | [INFO] [stdout] 1157 | ... 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/pprust.rs:1173:37 [INFO] [stdout] | [INFO] [stdout] 1173 | ... ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:1174:46 [INFO] [stdout] | [INFO] [stdout] 1174 | ... bounds: 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/pprust.rs:1175:42 [INFO] [stdout] | [INFO] [stdout] 1175 | ... ty: Option<&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/pprust.rs:1191:41 [INFO] [stdout] | [INFO] [stdout] 1191 | pub fn print_item(&mut self, item: &ast::Item) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1197:13 [INFO] [stdout] | [INFO] [stdout] 1197 | ast::ItemKind::ExternCrate(orig_name) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1210:13 [INFO] [stdout] | [INFO] [stdout] 1210 | ast::ItemKind::Use(ref tree) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1217:13 [INFO] [stdout] | [INFO] [stdout] 1217 | ast::ItemKind::Static(ref ty, m, 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/pprust.rs:1219:25 [INFO] [stdout] | [INFO] [stdout] 1219 | if m == ast::Mutability::Mutable { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1233:13 [INFO] [stdout] | [INFO] [stdout] 1233 | ast::ItemKind::Const(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/pprust.rs:1246:13 [INFO] [stdout] | [INFO] [stdout] 1246 | ast::ItemKind::Fn(ref sig, ref param_names, 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/pprust.rs:1258:13 [INFO] [stdout] | [INFO] [stdout] 1258 | ast::ItemKind::Mod(ref _mod) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1274:13 [INFO] [stdout] | [INFO] [stdout] 1274 | ast::ItemKind::ForeignMod(ref nmod) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1284:13 [INFO] [stdout] | [INFO] [stdout] 1284 | ast::ItemKind::GlobalAsm(ref ga) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1289:13 [INFO] [stdout] | [INFO] [stdout] 1289 | ast::ItemKind::TyAlias(ref ty, ref 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/pprust.rs:1302:13 [INFO] [stdout] | [INFO] [stdout] 1302 | ast::ItemKind::Enum(ref enum_definition, ref params) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1311:13 [INFO] [stdout] | [INFO] [stdout] 1311 | ast::ItemKind::Struct(ref struct_def, ref 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/pprust.rs:1315:13 [INFO] [stdout] | [INFO] [stdout] 1315 | ast::ItemKind::Union(ref struct_def, ref 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/pprust.rs:1319:13 [INFO] [stdout] | [INFO] [stdout] 1319 | ast::ItemKind::Impl(unsafety, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1337:32 [INFO] [stdout] | [INFO] [stdout] 1337 | if polarity == 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/pprust.rs:1358:13 [INFO] [stdout] | [INFO] [stdout] 1358 | ast::ItemKind::Trait(is_auto, unsafety, ref generics, ref bounds, ref trait_items) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericBound` [INFO] [stdout] --> src/pprust.rs:1368:28 [INFO] [stdout] | [INFO] [stdout] 1368 | if let GenericBound::Trait(ref ptr, ast::TraitBoundModifier::Maybe) = *b { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GenericBound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1368:57 [INFO] [stdout] | [INFO] [stdout] 1368 | if let GenericBound::Trait(ref ptr, ast::TraitBoundModifier::Maybe) = *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/pprust.rs:1385:13 [INFO] [stdout] | [INFO] [stdout] 1385 | ast::ItemKind::TraitAlias(ref generics, ref bounds) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericBound` [INFO] [stdout] --> src/pprust.rs:1394:28 [INFO] [stdout] | [INFO] [stdout] 1394 | if let GenericBound::Trait(ref ptr, ast::TraitBoundModifier::Maybe) = *b { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GenericBound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1394:57 [INFO] [stdout] | [INFO] [stdout] 1394 | if let GenericBound::Trait(ref ptr, ast::TraitBoundModifier::Maybe) = *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/pprust.rs:1407:13 [INFO] [stdout] | [INFO] [stdout] 1407 | ast::ItemKind::Mac(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/pprust.rs:1413:13 [INFO] [stdout] | [INFO] [stdout] 1413 | ast::ItemKind::MacroDef(ref macro_def) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1434:39 [INFO] [stdout] | [INFO] [stdout] 1434 | fn print_trait_ref(&mut self, t: &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/pprust.rs:1440:27 [INFO] [stdout] | [INFO] [stdout] 1440 | 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/pprust.rs:1449:44 [INFO] [stdout] | [INFO] [stdout] 1449 | fn print_poly_trait_ref(&mut self, t: &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/pprust.rs:1454:56 [INFO] [stdout] | [INFO] [stdout] 1454 | pub fn print_enum_def(&mut self, enum_definition: &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/pprust.rs:1455:38 [INFO] [stdout] | [INFO] [stdout] 1455 | generics: &ast::Generics, ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:1455:60 [INFO] [stdout] | [INFO] [stdout] 1455 | generics: &ast::Generics, ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:1457:40 [INFO] [stdout] | [INFO] [stdout] 1457 | 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/pprust.rs:1467:39 [INFO] [stdout] | [INFO] [stdout] 1467 | variants: &[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/pprust.rs:1483:46 [INFO] [stdout] | [INFO] [stdout] 1483 | pub fn print_visibility(&mut self, 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/pprust.rs:1485:13 [INFO] [stdout] | [INFO] [stdout] 1485 | ast::VisibilityKind::Public => self.word_nbsp("pub"), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1486:13 [INFO] [stdout] | [INFO] [stdout] 1486 | ast::VisibilityKind::Crate(sugar) => match sugar { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1487:17 [INFO] [stdout] | [INFO] [stdout] 1487 | ast::CrateSugar::PubCrate => self.word_nbsp("pub(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/pprust.rs:1488:17 [INFO] [stdout] | [INFO] [stdout] 1488 | ast::CrateSugar::JustCrate => self.word_nbsp("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/pprust.rs:1490:13 [INFO] [stdout] | [INFO] [stdout] 1490 | ast::VisibilityKind::Restricted { 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/pprust.rs:1498:13 [INFO] [stdout] | [INFO] [stdout] 1498 | 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/pprust.rs:1502:54 [INFO] [stdout] | [INFO] [stdout] 1502 | pub fn print_defaultness(&mut self, 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/pprust.rs:1503:16 [INFO] [stdout] | [INFO] [stdout] 1503 | if let ast::Defaultness::Default = 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/pprust.rs:1509:38 [INFO] [stdout] | [INFO] [stdout] 1509 | struct_def: &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/pprust.rs:1510:36 [INFO] [stdout] | [INFO] [stdout] 1510 | 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/pprust.rs:1511:32 [INFO] [stdout] | [INFO] [stdout] 1511 | ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:1517:13 [INFO] [stdout] | [INFO] [stdout] 1517 | ast::VariantData::Tuple(..) | ast::VariantData::Unit(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1517:43 [INFO] [stdout] | [INFO] [stdout] 1517 | ast::VariantData::Tuple(..) | ast::VariantData::Unit(..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1518:24 [INFO] [stdout] | [INFO] [stdout] 1518 | if let ast::VariantData::Tuple(..) = struct_def { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1538:13 [INFO] [stdout] | [INFO] [stdout] 1538 | ast::VariantData::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/pprust.rs:1560:41 [INFO] [stdout] | [INFO] [stdout] 1560 | pub fn print_variant(&mut self, v: &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/pprust.rs:1562:24 [INFO] [stdout] | [INFO] [stdout] 1562 | let generics = ast::Generics::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/pprust.rs:1575:36 [INFO] [stdout] | [INFO] [stdout] 1575 | ... ident: ast::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 `ast` [INFO] [stdout] --> src/pprust.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... 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/pprust.rs:1577:33 [INFO] [stdout] | [INFO] [stdout] 1577 | ... m: &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/pprust.rs:1578:35 [INFO] [stdout] | [INFO] [stdout] 1578 | ... 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/pprust.rs:1587:45 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn print_trait_item(&mut self, ti: &ast::TraitItem) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1594:13 [INFO] [stdout] | [INFO] [stdout] 1594 | ast::TraitItemKind::Const(ref ty, ref 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 `source_map` [INFO] [stdout] --> src/pprust.rs:1599:22 [INFO] [stdout] | [INFO] [stdout] 1599 | &source_map::respan(ti.span.shrink_to_lo(), ast::VisibilityKind::Inherited), [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/pprust.rs:1599:65 [INFO] [stdout] | [INFO] [stdout] 1599 | &source_map::respan(ti.span.shrink_to_lo(), 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/pprust.rs:1602:13 [INFO] [stdout] | [INFO] [stdout] 1602 | ast::TraitItemKind::Method(ref sig, 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 `source_map` [INFO] [stdout] --> src/pprust.rs:1610:22 [INFO] [stdout] | [INFO] [stdout] 1610 | &source_map::respan(ti.span.shrink_to_lo(), ast::VisibilityKind::Inherited), [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/pprust.rs:1610:65 [INFO] [stdout] | [INFO] [stdout] 1610 | &source_map::respan(ti.span.shrink_to_lo(), 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/pprust.rs:1619:13 [INFO] [stdout] | [INFO] [stdout] 1619 | ast::TraitItemKind::Type(ref bounds, ref 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/pprust.rs:1623:13 [INFO] [stdout] | [INFO] [stdout] 1623 | ast::TraitItemKind::Macro(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/pprust.rs:1633:44 [INFO] [stdout] | [INFO] [stdout] 1633 | pub fn print_impl_item(&mut self, ii: &ast::ImplItem) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1640:13 [INFO] [stdout] | [INFO] [stdout] 1640 | ast::ImplItemKind::Const(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/pprust.rs:1643:13 [INFO] [stdout] | [INFO] [stdout] 1643 | ast::ImplItemKind::Method(ref sig, 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/pprust.rs:1649:13 [INFO] [stdout] | [INFO] [stdout] 1649 | ast::ImplItemKind::TyAlias(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/pprust.rs:1652:13 [INFO] [stdout] | [INFO] [stdout] 1652 | ast::ImplItemKind::Macro(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/pprust.rs:1662:39 [INFO] [stdout] | [INFO] [stdout] 1662 | pub fn print_stmt(&mut self, st: &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/pprust.rs:1665:13 [INFO] [stdout] | [INFO] [stdout] 1665 | ast::StmtKind::Local(ref loc) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1682:13 [INFO] [stdout] | [INFO] [stdout] 1682 | ast::StmtKind::Item(ref item) => self.print_item(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/pprust.rs:1683:13 [INFO] [stdout] | [INFO] [stdout] 1683 | ast::StmtKind::Expr(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 `classify` [INFO] [stdout] --> src/pprust.rs:1686:20 [INFO] [stdout] | [INFO] [stdout] 1686 | if classify::expr_requires_semi_to_be_stmt(expr) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `classify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1690:13 [INFO] [stdout] | [INFO] [stdout] 1690 | ast::StmtKind::Semi(ref expr) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1695:21 [INFO] [stdout] | [INFO] [stdout] 1695 | ast::ExprKind::Tup(ref exprs) if exprs.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/pprust.rs:1704:13 [INFO] [stdout] | [INFO] [stdout] 1704 | ast::StmtKind::Mac(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/pprust.rs:1709:29 [INFO] [stdout] | [INFO] [stdout] 1709 | if style == ast::MacStmtStyle::Semicolon { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1717:41 [INFO] [stdout] | [INFO] [stdout] 1717 | pub fn print_block(&mut self, blk: &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/pprust.rs:1721:57 [INFO] [stdout] | [INFO] [stdout] 1721 | pub fn print_block_unclosed_indent(&mut self, blk: &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/pprust.rs:1726:41 [INFO] [stdout] | [INFO] [stdout] 1726 | ... blk: &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/pprust.rs:1727:44 [INFO] [stdout] | [INFO] [stdout] 1727 | ... 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/pprust.rs:1732:45 [INFO] [stdout] | [INFO] [stdout] 1732 | ... blk: &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/pprust.rs:1733:48 [INFO] [stdout] | [INFO] [stdout] 1733 | ... 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 type `BlockCheckMode` [INFO] [stdout] --> src/pprust.rs:1736:13 [INFO] [stdout] | [INFO] [stdout] 1736 | BlockCheckMode::Unsafe(..) => self.word_space("unsafe"), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockCheckMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCheckMode` [INFO] [stdout] --> src/pprust.rs:1737:13 [INFO] [stdout] | [INFO] [stdout] 1737 | BlockCheckMode::Default => () [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockCheckMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1747:17 [INFO] [stdout] | [INFO] [stdout] 1747 | ast::StmtKind::Expr(ref expr) if i == blk.stmts.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/pprust.rs:1762:39 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn print_let(&mut self, pat: &ast::Pat, scrutinee: &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/pprust.rs:1762:61 [INFO] [stdout] | [INFO] [stdout] 1762 | pub fn print_let(&mut self, pat: &ast::Pat, scrutinee: &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/pprust.rs:1776:43 [INFO] [stdout] | [INFO] [stdout] 1776 | fn print_else(&mut self, els: 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/pprust.rs:1780:17 [INFO] [stdout] | [INFO] [stdout] 1780 | ast::ExprKind::If(ref i, ref then, 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/pprust.rs:1790:17 [INFO] [stdout] | [INFO] [stdout] 1790 | ast::ExprKind::Block(ref 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/pprust.rs:1804:39 [INFO] [stdout] | [INFO] [stdout] 1804 | pub fn print_if(&mut self, test: &ast::Expr, blk: &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/pprust.rs:1804:56 [INFO] [stdout] | [INFO] [stdout] 1804 | pub fn print_if(&mut self, test: &ast::Expr, blk: &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/pprust.rs:1805:38 [INFO] [stdout] | [INFO] [stdout] 1805 | elseopt: 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/pprust.rs:1815:37 [INFO] [stdout] | [INFO] [stdout] 1815 | pub fn print_mac(&mut self, m: &ast::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/pprust.rs:1827:45 [INFO] [stdout] | [INFO] [stdout] 1827 | fn print_call_post(&mut self, args: &[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/pprust.rs:1833:53 [INFO] [stdout] | [INFO] [stdout] 1833 | pub fn print_expr_maybe_paren(&mut self, expr: &ast::Expr, prec: i8) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1839:49 [INFO] [stdout] | [INFO] [stdout] 1839 | pub fn print_expr_as_cond(&mut self, 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/pprust.rs:1844:30 [INFO] [stdout] | [INFO] [stdout] 1844 | fn cond_needs_par(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/pprust.rs:1848:13 [INFO] [stdout] | [INFO] [stdout] 1848 | 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/pprust.rs:1849:13 [INFO] [stdout] | [INFO] [stdout] 1849 | 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/pprust.rs:1850:13 [INFO] [stdout] | [INFO] [stdout] 1850 | ast::ExprKind::Break(..) => 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 `parser` [INFO] [stdout] --> src/pprust.rs:1852:18 [INFO] [stdout] | [INFO] [stdout] 1852 | _ => parser::contains_exterior_struct_lit(expr), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1857:48 [INFO] [stdout] | [INFO] [stdout] 1857 | fn print_expr_cond_paren(&mut self, expr: &ast::Expr, needs_par: 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/pprust.rs:1867:45 [INFO] [stdout] | [INFO] [stdout] 1867 | fn print_expr_vec(&mut self, exprs: &[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/pprust.rs:1878:36 [INFO] [stdout] | [INFO] [stdout] 1878 | element: &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/pprust.rs:1879:34 [INFO] [stdout] | [INFO] [stdout] 1879 | count: &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/pprust.rs:1892:33 [INFO] [stdout] | [INFO] [stdout] 1892 | 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/pprust.rs:1893:36 [INFO] [stdout] | [INFO] [stdout] 1893 | fields: &[ast::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/pprust.rs:1894:41 [INFO] [stdout] | [INFO] [stdout] 1894 | wth: &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/pprust.rs:1930:45 [INFO] [stdout] | [INFO] [stdout] 1930 | fn print_expr_tup(&mut self, exprs: &[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/pprust.rs:1942:31 [INFO] [stdout] | [INFO] [stdout] 1942 | func: &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/pprust.rs:1943:34 [INFO] [stdout] | [INFO] [stdout] 1943 | args: &[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/pprust.rs:1946:17 [INFO] [stdout] | [INFO] [stdout] 1946 | ast::ExprKind::Field(..) => parser::PREC_FORCE_PAREN, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:1946:45 [INFO] [stdout] | [INFO] [stdout] 1946 | ast::ExprKind::Field(..) => parser::PREC_FORCE_PAREN, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:1947:22 [INFO] [stdout] | [INFO] [stdout] 1947 | _ => parser::PREC_POSTFIX, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1955:41 [INFO] [stdout] | [INFO] [stdout] 1955 | ... 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/pprust.rs:1956:41 [INFO] [stdout] | [INFO] [stdout] 1956 | ... args: &[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 `parser` [INFO] [stdout] --> src/pprust.rs:1958:47 [INFO] [stdout] | [INFO] [stdout] 1958 | self.print_expr_maybe_paren(&args[0], parser::PREC_POSTFIX); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1968:30 [INFO] [stdout] | [INFO] [stdout] 1968 | op: 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/pprust.rs:1969:32 [INFO] [stdout] | [INFO] [stdout] 1969 | 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/pprust.rs:1970:32 [INFO] [stdout] | [INFO] [stdout] 1970 | 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 type `AssocOp` [INFO] [stdout] --> src/pprust.rs:1972:24 [INFO] [stdout] | [INFO] [stdout] 1972 | let assoc_op = AssocOp::from_ast_binop(op.node); [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fixity` [INFO] [stdout] --> src/pprust.rs:1977:13 [INFO] [stdout] | [INFO] [stdout] 1977 | Fixity::Left => (prec, prec + 1), [INFO] [stdout] | ^^^^^^ use of undeclared type `Fixity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fixity` [INFO] [stdout] --> src/pprust.rs:1978:13 [INFO] [stdout] | [INFO] [stdout] 1978 | Fixity::Right => (prec + 1, prec), [INFO] [stdout] | ^^^^^^ use of undeclared type `Fixity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fixity` [INFO] [stdout] --> src/pprust.rs:1979:13 [INFO] [stdout] | [INFO] [stdout] 1979 | Fixity::None => (prec + 1, prec + 1), [INFO] [stdout] | ^^^^^^ use of undeclared type `Fixity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1986:15 [INFO] [stdout] | [INFO] [stdout] 1986 | (&ast::ExprKind::Cast { .. }, ast::BinOpKind::Lt) | [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1986:43 [INFO] [stdout] | [INFO] [stdout] 1986 | (&ast::ExprKind::Cast { .. }, ast::BinOpKind::Lt) | [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1987:15 [INFO] [stdout] | [INFO] [stdout] 1987 | (&ast::ExprKind::Cast { .. }, ast::BinOpKind::Shl) => parser::PREC_FORCE_PAREN, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1987:43 [INFO] [stdout] | [INFO] [stdout] 1987 | (&ast::ExprKind::Cast { .. }, ast::BinOpKind::Shl) => parser::PREC_FORCE_PAREN, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:1987:67 [INFO] [stdout] | [INFO] [stdout] 1987 | (&ast::ExprKind::Cast { .. }, ast::BinOpKind::Shl) => parser::PREC_FORCE_PAREN, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:1996:15 [INFO] [stdout] | [INFO] [stdout] 1996 | (&ast::ExprKind::Let { .. }, _) if !syntax_priv::needs_par_as_let_scrutinee(prec) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:1997:17 [INFO] [stdout] | [INFO] [stdout] 1997 | parser::PREC_FORCE_PAREN [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `classify` [INFO] [stdout] --> src/pprust.rs:1999:32 [INFO] [stdout] | [INFO] [stdout] 1999 | _ if !is_inline && classify::expr_requires_semi_to_be_stmt(lhs) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `classify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:2000:17 [INFO] [stdout] | [INFO] [stdout] 2000 | parser::PREC_FORCE_PAREN [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2012:29 [INFO] [stdout] | [INFO] [stdout] 2012 | 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/pprust.rs:2013:32 [INFO] [stdout] | [INFO] [stdout] 2013 | 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/pprust.rs:2014:21 [INFO] [stdout] | [INFO] [stdout] 2014 | self.s.word(ast::UnOp::to_string(op)); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:2015:43 [INFO] [stdout] | [INFO] [stdout] 2015 | self.print_expr_maybe_paren(expr, parser::PREC_PREFIX) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2019:33 [INFO] [stdout] | [INFO] [stdout] 2019 | 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/pprust.rs:2020:39 [INFO] [stdout] | [INFO] [stdout] 2020 | 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/pprust.rs:2021:34 [INFO] [stdout] | [INFO] [stdout] 2021 | 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/pprust.rs:2024:13 [INFO] [stdout] | [INFO] [stdout] 2024 | ast::BorrowKind::Ref => self.print_mutability(mutability, 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/pprust.rs:2025:13 [INFO] [stdout] | [INFO] [stdout] 2025 | ast::BorrowKind::Raw => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:2030:43 [INFO] [stdout] | [INFO] [stdout] 2030 | self.print_expr_maybe_paren(expr, parser::PREC_PREFIX) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2033:41 [INFO] [stdout] | [INFO] [stdout] 2033 | pub fn print_expr(&mut self, 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/pprust.rs:2038:42 [INFO] [stdout] | [INFO] [stdout] 2038 | ... 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/pprust.rs:2052:13 [INFO] [stdout] | [INFO] [stdout] 2052 | 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 `parser` [INFO] [stdout] --> src/pprust.rs:2054:51 [INFO] [stdout] | [INFO] [stdout] 2054 | self.print_expr_maybe_paren(expr, parser::PREC_PREFIX); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2056:13 [INFO] [stdout] | [INFO] [stdout] 2056 | ast::ExprKind::Array(ref exprs) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2059:13 [INFO] [stdout] | [INFO] [stdout] 2059 | ast::ExprKind::Repeat(ref element, ref count) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2062:13 [INFO] [stdout] | [INFO] [stdout] 2062 | ast::ExprKind::Struct(ref path, ref fields, ref wth) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2065:13 [INFO] [stdout] | [INFO] [stdout] 2065 | ast::ExprKind::Tup(ref exprs) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2068:13 [INFO] [stdout] | [INFO] [stdout] 2068 | ast::ExprKind::Call(ref func, 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/pprust.rs:2071:13 [INFO] [stdout] | [INFO] [stdout] 2071 | ast::ExprKind::MethodCall(ref segment, 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/pprust.rs:2074:13 [INFO] [stdout] | [INFO] [stdout] 2074 | 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/pprust.rs:2077:13 [INFO] [stdout] | [INFO] [stdout] 2077 | ast::ExprKind::Unary(op, 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/pprust.rs:2080:13 [INFO] [stdout] | [INFO] [stdout] 2080 | ast::ExprKind::AddrOf(k, m, 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/pprust.rs:2083:13 [INFO] [stdout] | [INFO] [stdout] 2083 | ast::ExprKind::Lit(ref 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/pprust.rs:2086:13 [INFO] [stdout] | [INFO] [stdout] 2086 | ast::ExprKind::Cast(ref expr, 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 `classify` [INFO] [stdout] --> src/pprust.rs:2087:46 [INFO] [stdout] | [INFO] [stdout] 2087 | let prec = if !is_inline && !classify::expr_requires_semi_to_be_stmt(expr) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `classify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:2088:21 [INFO] [stdout] | [INFO] [stdout] 2088 | parser::PREC_FORCE_PAREN [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/pprust.rs:2090:21 [INFO] [stdout] | [INFO] [stdout] 2090 | AssocOp::As.precedence() as i8 [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2097:13 [INFO] [stdout] | [INFO] [stdout] 2097 | ast::ExprKind::Type(ref expr, 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 `classify` [INFO] [stdout] --> src/pprust.rs:2098:46 [INFO] [stdout] | [INFO] [stdout] 2098 | let prec = if !is_inline && !classify::expr_requires_semi_to_be_stmt(expr) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `classify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:2099:21 [INFO] [stdout] | [INFO] [stdout] 2099 | parser::PREC_FORCE_PAREN [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/pprust.rs:2101:21 [INFO] [stdout] | [INFO] [stdout] 2101 | AssocOp::Colon.precedence() as i8 [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2107:13 [INFO] [stdout] | [INFO] [stdout] 2107 | ast::ExprKind::Let(ref pat, ref scrutinee) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2110:13 [INFO] [stdout] | [INFO] [stdout] 2110 | ast::ExprKind::If(ref test, ref blk, ref elseopt) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2113:13 [INFO] [stdout] | [INFO] [stdout] 2113 | ast::ExprKind::While(ref test, ref blk, 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/pprust.rs:2123:13 [INFO] [stdout] | [INFO] [stdout] 2123 | ast::ExprKind::ForLoop(ref pat, ref iter, ref blk, 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/pprust.rs:2136:13 [INFO] [stdout] | [INFO] [stdout] 2136 | ast::ExprKind::Loop(ref blk, 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/pprust.rs:2145:13 [INFO] [stdout] | [INFO] [stdout] 2145 | ast::ExprKind::Match(ref expr, 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/pprust.rs:2158:13 [INFO] [stdout] | [INFO] [stdout] 2158 | 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/pprust.rs:2174:13 [INFO] [stdout] | [INFO] [stdout] 2174 | ast::ExprKind::Block(ref blk, 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/pprust.rs:2185:13 [INFO] [stdout] | [INFO] [stdout] 2185 | ast::ExprKind::Async(capture_clause, _, ref blk) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2194:13 [INFO] [stdout] | [INFO] [stdout] 2194 | ast::ExprKind::Await(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 `parser` [INFO] [stdout] --> src/pprust.rs:2195:51 [INFO] [stdout] | [INFO] [stdout] 2195 | self.print_expr_maybe_paren(expr, parser::PREC_POSTFIX); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2198:13 [INFO] [stdout] | [INFO] [stdout] 2198 | 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 `classify` [INFO] [stdout] --> src/pprust.rs:2199:46 [INFO] [stdout] | [INFO] [stdout] 2199 | let prec = if !is_inline && !classify::expr_requires_semi_to_be_stmt(lhs) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `classify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:2200:21 [INFO] [stdout] | [INFO] [stdout] 2200 | parser::PREC_FORCE_PAREN [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/pprust.rs:2202:21 [INFO] [stdout] | [INFO] [stdout] 2202 | AssocOp::Assign.precedence() as i8 [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2209:13 [INFO] [stdout] | [INFO] [stdout] 2209 | ast::ExprKind::AssignOp(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 `classify` [INFO] [stdout] --> src/pprust.rs:2210:46 [INFO] [stdout] | [INFO] [stdout] 2210 | let prec = if !is_inline && !classify::expr_requires_semi_to_be_stmt(lhs) { [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `classify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `parser` [INFO] [stdout] --> src/pprust.rs:2211:21 [INFO] [stdout] | [INFO] [stdout] 2211 | parser::PREC_FORCE_PAREN [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/pprust.rs:2213:21 [INFO] [stdout] | [INFO] [stdout] 2213 | AssocOp::Assign.precedence() as i8 [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2221:13 [INFO] [stdout] | [INFO] [stdout] 2221 | ast::ExprKind::Field(ref expr, 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 `parser` [INFO] [stdout] --> src/pprust.rs:2222:51 [INFO] [stdout] | [INFO] [stdout] 2222 | self.print_expr_maybe_paren(expr, parser::PREC_POSTFIX); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2226:13 [INFO] [stdout] | [INFO] [stdout] 2226 | 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 `parser` [INFO] [stdout] --> src/pprust.rs:2227:51 [INFO] [stdout] | [INFO] [stdout] 2227 | self.print_expr_maybe_paren(expr, parser::PREC_POSTFIX); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2232:13 [INFO] [stdout] | [INFO] [stdout] 2232 | ast::ExprKind::Range(ref start, ref end, limits) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AssocOp` [INFO] [stdout] --> src/pprust.rs:2237:33 [INFO] [stdout] | [INFO] [stdout] 2237 | let fake_prec = AssocOp::LOr.precedence() as i8; [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2241:30 [INFO] [stdout] | [INFO] [stdout] 2241 | if limits == 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/pprust.rs:2250:13 [INFO] [stdout] | [INFO] [stdout] 2250 | ast::ExprKind::Path(None, 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/pprust.rs:2253:13 [INFO] [stdout] | [INFO] [stdout] 2253 | ast::ExprKind::Path(Some(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/pprust.rs:2256:13 [INFO] [stdout] | [INFO] [stdout] 2256 | ast::ExprKind::Break(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 `parser` [INFO] [stdout] --> src/pprust.rs:2264:55 [INFO] [stdout] | [INFO] [stdout] 2264 | self.print_expr_maybe_paren(expr, parser::PREC_JUMP); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2268:13 [INFO] [stdout] | [INFO] [stdout] 2268 | ast::ExprKind::Continue(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/pprust.rs:2276:13 [INFO] [stdout] | [INFO] [stdout] 2276 | ast::ExprKind::Ret(ref 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 `parser` [INFO] [stdout] --> src/pprust.rs:2280:55 [INFO] [stdout] | [INFO] [stdout] 2280 | self.print_expr_maybe_paren(expr, parser::PREC_JUMP); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2283:13 [INFO] [stdout] | [INFO] [stdout] 2283 | ast::ExprKind::InlineAsm(ref 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/pprust.rs:2295:44 [INFO] [stdout] | [INFO] [stdout] 2295 | ... ast::StrStyle::Cooked) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2297:58 [INFO] [stdout] | [INFO] [stdout] 2297 | _ => s.print_string(&constraint, ast::StrStyle::Cooked) [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2307:50 [INFO] [stdout] | [INFO] [stdout] 2307 | s.print_string(&co.as_str(), ast::StrStyle::Cooked); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2317:50 [INFO] [stdout] | [INFO] [stdout] 2317 | s.print_string(&co.as_str(), ast::StrStyle::Cooked); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2327:33 [INFO] [stdout] | [INFO] [stdout] 2327 | if a.dialect == ast::AsmDialect::Intel { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2336:58 [INFO] [stdout] | [INFO] [stdout] 2336 | ... s.print_string(co, ast::StrStyle::Cooked); [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2342:13 [INFO] [stdout] | [INFO] [stdout] 2342 | ast::ExprKind::Mac(ref m) => self.print_mac(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/pprust.rs:2343:13 [INFO] [stdout] | [INFO] [stdout] 2343 | ast::ExprKind::Paren(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/pprust.rs:2349:13 [INFO] [stdout] | [INFO] [stdout] 2349 | ast::ExprKind::Yield(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 `parser` [INFO] [stdout] --> src/pprust.rs:2354:59 [INFO] [stdout] | [INFO] [stdout] 2354 | self.print_expr_maybe_paren(expr, parser::PREC_JUMP); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2359:13 [INFO] [stdout] | [INFO] [stdout] 2359 | ast::ExprKind::Try(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 `parser` [INFO] [stdout] --> src/pprust.rs:2360:48 [INFO] [stdout] | [INFO] [stdout] 2360 | self.print_expr_maybe_paren(e, parser::PREC_POSTFIX); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2363:13 [INFO] [stdout] | [INFO] [stdout] 2363 | ast::ExprKind::TryBlock(ref blk) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2368:13 [INFO] [stdout] | [INFO] [stdout] 2368 | 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/pprust.rs:2378:46 [INFO] [stdout] | [INFO] [stdout] 2378 | pub fn print_local_decl(&mut self, loc: &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/pprust.rs:2390:40 [INFO] [stdout] | [INFO] [stdout] 2390 | pub fn print_name(&mut self, name: ast::Name) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2396:27 [INFO] [stdout] | [INFO] [stdout] 2396 | 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/pprust.rs:2397:28 [INFO] [stdout] | [INFO] [stdout] 2397 | qself: &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/pprust.rs:2418:39 [INFO] [stdout] | [INFO] [stdout] 2418 | pub fn print_pat(&mut self, pat: &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 type `PatKind` [INFO] [stdout] --> src/pprust.rs:2424:13 [INFO] [stdout] | [INFO] [stdout] 2424 | PatKind::Wild => self.s.word("_"), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2425:13 [INFO] [stdout] | [INFO] [stdout] 2425 | PatKind::Ident(binding_mode, ident, ref sub) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2427:21 [INFO] [stdout] | [INFO] [stdout] 2427 | ast::BindingMode::ByRef(mutbl) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2431:21 [INFO] [stdout] | [INFO] [stdout] 2431 | ast::BindingMode::ByValue(ast::Mutability::Immutable) => {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2431:47 [INFO] [stdout] | [INFO] [stdout] 2431 | ast::BindingMode::ByValue(ast::Mutability::Immutable) => {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2432:21 [INFO] [stdout] | [INFO] [stdout] 2432 | ast::BindingMode::ByValue(ast::Mutability::Mutable) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2432:47 [INFO] [stdout] | [INFO] [stdout] 2432 | ast::BindingMode::ByValue(ast::Mutability::Mutable) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2443:13 [INFO] [stdout] | [INFO] [stdout] 2443 | PatKind::TupleStruct(ref path, ref elts) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2449:13 [INFO] [stdout] | [INFO] [stdout] 2449 | PatKind::Or(ref pats) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2452:13 [INFO] [stdout] | [INFO] [stdout] 2452 | PatKind::Path(None, ref path) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2455:13 [INFO] [stdout] | [INFO] [stdout] 2455 | PatKind::Path(Some(ref qself), ref path) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2458:13 [INFO] [stdout] | [INFO] [stdout] 2458 | PatKind::Struct(ref path, ref fields, etc) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2481:13 [INFO] [stdout] | [INFO] [stdout] 2481 | PatKind::Tuple(ref elts) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2489:13 [INFO] [stdout] | [INFO] [stdout] 2489 | PatKind::Box(ref inner) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2493:13 [INFO] [stdout] | [INFO] [stdout] 2493 | PatKind::Ref(ref inner, mutbl) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2495:29 [INFO] [stdout] | [INFO] [stdout] 2495 | if mutbl == ast::Mutability::Mutable { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2500:13 [INFO] [stdout] | [INFO] [stdout] 2500 | PatKind::Lit(ref e) => self.print_expr(&**e), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2501:13 [INFO] [stdout] | [INFO] [stdout] 2501 | PatKind::Range(ref begin, ref end, Spanned { node: ref end_kind, .. }) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeEnd` [INFO] [stdout] --> src/pprust.rs:2505:21 [INFO] [stdout] | [INFO] [stdout] 2505 | RangeEnd::Included(RangeSyntax::DotDotDot) => self.s.word("..."), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RangeEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSyntax` [INFO] [stdout] --> src/pprust.rs:2505:40 [INFO] [stdout] | [INFO] [stdout] 2505 | RangeEnd::Included(RangeSyntax::DotDotDot) => self.s.word("..."), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RangeSyntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeEnd` [INFO] [stdout] --> src/pprust.rs:2506:21 [INFO] [stdout] | [INFO] [stdout] 2506 | RangeEnd::Included(RangeSyntax::DotDotEq) => self.s.word("..="), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RangeEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSyntax` [INFO] [stdout] --> src/pprust.rs:2506:40 [INFO] [stdout] | [INFO] [stdout] 2506 | RangeEnd::Included(RangeSyntax::DotDotEq) => self.s.word("..="), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RangeSyntax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeEnd` [INFO] [stdout] --> src/pprust.rs:2507:21 [INFO] [stdout] | [INFO] [stdout] 2507 | RangeEnd::Excluded => self.s.word(".."), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `RangeEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2511:13 [INFO] [stdout] | [INFO] [stdout] 2511 | PatKind::Slice(ref elts) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2516:13 [INFO] [stdout] | [INFO] [stdout] 2516 | PatKind::Rest => self.s.word(".."), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2517:13 [INFO] [stdout] | [INFO] [stdout] 2517 | PatKind::Paren(ref inner) => { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2522:13 [INFO] [stdout] | [INFO] [stdout] 2522 | PatKind::Mac(ref m) => self.print_mac(m), [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2527:35 [INFO] [stdout] | [INFO] [stdout] 2527 | fn print_arm(&mut self, 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/pprust.rs:2546:13 [INFO] [stdout] | [INFO] [stdout] 2546 | ast::ExprKind::Block(ref blk, 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 type `BlockCheckMode` [INFO] [stdout] --> src/pprust.rs:2556:24 [INFO] [stdout] | [INFO] [stdout] 2556 | if let BlockCheckMode::Unsafe(ast::UserProvided) = blk.rules { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BlockCheckMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2556:47 [INFO] [stdout] | [INFO] [stdout] 2556 | if let BlockCheckMode::Unsafe(ast::UserProvided) = blk.rules { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2569:55 [INFO] [stdout] | [INFO] [stdout] 2569 | fn print_explicit_self(&mut self, 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 type `SelfKind` [INFO] [stdout] --> src/pprust.rs:2571:13 [INFO] [stdout] | [INFO] [stdout] 2571 | SelfKind::Value(m) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SelfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelfKind` [INFO] [stdout] --> src/pprust.rs:2575:13 [INFO] [stdout] | [INFO] [stdout] 2575 | SelfKind::Region(ref lt, m) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SelfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SelfKind` [INFO] [stdout] --> src/pprust.rs:2581:13 [INFO] [stdout] | [INFO] [stdout] 2581 | SelfKind::Explicit(ref typ, m) => { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `SelfKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2591:28 [INFO] [stdout] | [INFO] [stdout] 2591 | 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/pprust.rs:2592:29 [INFO] [stdout] | [INFO] [stdout] 2592 | header: ast::FnHeader, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2593:34 [INFO] [stdout] | [INFO] [stdout] 2593 | name: 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/pprust.rs:2594:32 [INFO] [stdout] | [INFO] [stdout] 2594 | 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/pprust.rs:2595:27 [INFO] [stdout] | [INFO] [stdout] 2595 | 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/pprust.rs:2607:54 [INFO] [stdout] | [INFO] [stdout] 2607 | pub fn print_fn_params_and_ret(&mut self, 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/pprust.rs:2615:52 [INFO] [stdout] | [INFO] [stdout] 2615 | pub fn print_fn_block_params(&mut self, 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/pprust.rs:2620:16 [INFO] [stdout] | [INFO] [stdout] 2620 | if let ast::FunctionRetTy::Default(..) = decl.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/pprust.rs:2627:13 [INFO] [stdout] | [INFO] [stdout] 2627 | ast::FunctionRetTy::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/pprust.rs:2631:13 [INFO] [stdout] | [INFO] [stdout] 2631 | ast::FunctionRetTy::Default(..) => unreachable!(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2635:52 [INFO] [stdout] | [INFO] [stdout] 2635 | pub fn print_movability(&mut self, 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/pprust.rs:2637:13 [INFO] [stdout] | [INFO] [stdout] 2637 | ast::Movability::Static => self.word_space("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/pprust.rs:2638:13 [INFO] [stdout] | [INFO] [stdout] 2638 | ast::Movability::Movable => {}, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2642:50 [INFO] [stdout] | [INFO] [stdout] 2642 | pub fn print_asyncness(&mut self, asyncness: ast::IsAsync) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2648:60 [INFO] [stdout] | [INFO] [stdout] 2648 | pub fn print_capture_clause(&mut self, capture_clause: 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/pprust.rs:2650:13 [INFO] [stdout] | [INFO] [stdout] 2650 | ast::CaptureBy::Value => self.word_space("move"), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2651:13 [INFO] [stdout] | [INFO] [stdout] 2651 | ast::CaptureBy::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/pprust.rs:2655:73 [INFO] [stdout] | [INFO] [stdout] 2655 | pub fn print_type_bounds(&mut self, prefix: &'static str, 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 type `GenericBound` [INFO] [stdout] --> src/pprust.rs:2670:21 [INFO] [stdout] | [INFO] [stdout] 2670 | GenericBound::Trait(tref, modifier) => { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GenericBound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraitBoundModifier` [INFO] [stdout] --> src/pprust.rs:2671:41 [INFO] [stdout] | [INFO] [stdout] 2671 | if modifier == &TraitBoundModifier::Maybe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `TraitBoundModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GenericBound` [INFO] [stdout] --> src/pprust.rs:2676:21 [INFO] [stdout] | [INFO] [stdout] 2676 | GenericBound::Outlives(lt) => self.print_lifetime(*lt), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GenericBound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2682:48 [INFO] [stdout] | [INFO] [stdout] 2682 | pub fn print_lifetime(&mut self, lifetime: 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/pprust.rs:2687:30 [INFO] [stdout] | [INFO] [stdout] 2687 | &mut self, lifetime: ast::Lifetime, 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/pprust.rs:2687:54 [INFO] [stdout] | [INFO] [stdout] 2687 | &mut self, lifetime: ast::Lifetime, 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/pprust.rs:2696:21 [INFO] [stdout] | [INFO] [stdout] 2696 | ast::GenericBound::Outlives(lt) => self.print_lifetime(*lt), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2703:62 [INFO] [stdout] | [INFO] [stdout] 2703 | pub fn print_generic_params(&mut self, 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/pprust.rs:2714:17 [INFO] [stdout] | [INFO] [stdout] 2714 | ast::GenericParamKind::Lifetime => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2715:30 [INFO] [stdout] | [INFO] [stdout] 2715 | let lt = ast::Lifetime { id: param.id, ident: param.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 `ast` [INFO] [stdout] --> src/pprust.rs:2718:17 [INFO] [stdout] | [INFO] [stdout] 2718 | ast::GenericParamKind::Type { ref 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/pprust.rs:2727:17 [INFO] [stdout] | [INFO] [stdout] 2727 | ast::GenericParamKind::Const { 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/pprust.rs:2741:57 [INFO] [stdout] | [INFO] [stdout] 2741 | pub fn print_where_clause(&mut self, where_clause: &ast::WhereClause) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2755:17 [INFO] [stdout] | [INFO] [stdout] 2755 | ast::WherePredicate::BoundPredicate(ast::WhereBoundPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2755:53 [INFO] [stdout] | [INFO] [stdout] 2755 | ast::WherePredicate::BoundPredicate(ast::WhereBoundPredicate { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2765:17 [INFO] [stdout] | [INFO] [stdout] 2765 | ast::WherePredicate::RegionPredicate(ast::WhereRegionPredicate{ref 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/pprust.rs:2765:54 [INFO] [stdout] | [INFO] [stdout] 2765 | ast::WherePredicate::RegionPredicate(ast::WhereRegionPredicate{ref 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/pprust.rs:2770:17 [INFO] [stdout] | [INFO] [stdout] 2770 | ast::WherePredicate::EqPredicate(ast::WhereEqPredicate{ref lhs_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/pprust.rs:2770:50 [INFO] [stdout] | [INFO] [stdout] 2770 | ast::WherePredicate::EqPredicate(ast::WhereEqPredicate{ref lhs_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/pprust.rs:2782:45 [INFO] [stdout] | [INFO] [stdout] 2782 | pub fn print_use_tree(&mut self, 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/pprust.rs:2784:13 [INFO] [stdout] | [INFO] [stdout] 2784 | ast::UseTreeKind::Simple(rename, ..) => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2792:13 [INFO] [stdout] | [INFO] [stdout] 2792 | ast::UseTreeKind::Glob => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2799:13 [INFO] [stdout] | [INFO] [stdout] 2799 | ast::UseTreeKind::Nested(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/pprust.rs:2814:47 [INFO] [stdout] | [INFO] [stdout] 2814 | pub fn print_mutability(&mut self, mutbl: ast::Mutability, print_const: 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/pprust.rs:2816:13 [INFO] [stdout] | [INFO] [stdout] 2816 | ast::Mutability::Mutable => self.word_nbsp("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/pprust.rs:2817:13 [INFO] [stdout] | [INFO] [stdout] 2817 | ast::Mutability::Immutable => if print_const { self.word_nbsp("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/pprust.rs:2821:37 [INFO] [stdout] | [INFO] [stdout] 2821 | pub fn print_mt(&mut self, mt: &ast::MutTy, print_const: 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/pprust.rs:2826:43 [INFO] [stdout] | [INFO] [stdout] 2826 | pub fn print_param(&mut self, input: &ast::Param, is_closure: 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/pprust.rs:2832:13 [INFO] [stdout] | [INFO] [stdout] 2832 | ast::TyKind::Infer if is_closure => self.print_pat(&input.pat), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PatKind` [INFO] [stdout] --> src/pprust.rs:2837:42 [INFO] [stdout] | [INFO] [stdout] 2837 | let invalid = if let PatKind::Ident(_, ident, _) = input.pat.kind { [INFO] [stdout] | ^^^^^^^ use of undeclared type `PatKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `kw` [INFO] [stdout] --> src/pprust.rs:2838:39 [INFO] [stdout] | [INFO] [stdout] 2838 | ident.name == kw::Invalid [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/pprust.rs:2854:46 [INFO] [stdout] | [INFO] [stdout] 2854 | pub fn print_fn_output(&mut self, 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/pprust.rs:2855:16 [INFO] [stdout] | [INFO] [stdout] 2855 | if let ast::FunctionRetTy::Default(..) = decl.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/pprust.rs:2863:13 [INFO] [stdout] | [INFO] [stdout] 2863 | ast::FunctionRetTy::Default(..) => unreachable!(), [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2864:13 [INFO] [stdout] | [INFO] [stdout] 2864 | ast::FunctionRetTy::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/pprust.rs:2870:13 [INFO] [stdout] | [INFO] [stdout] 2870 | ast::FunctionRetTy::Ty(ref output) => self.maybe_print_comment(output.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/pprust.rs:2876:29 [INFO] [stdout] | [INFO] [stdout] 2876 | 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/pprust.rs:2877:34 [INFO] [stdout] | [INFO] [stdout] 2877 | unsafety: ast::Unsafety, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2878:31 [INFO] [stdout] | [INFO] [stdout] 2878 | 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/pprust.rs:2879:37 [INFO] [stdout] | [INFO] [stdout] 2879 | name: 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/pprust.rs:2880:42 [INFO] [stdout] | [INFO] [stdout] 2880 | 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/pprust.rs:2887:24 [INFO] [stdout] | [INFO] [stdout] 2887 | let 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/pprust.rs:2889:27 [INFO] [stdout] | [INFO] [stdout] 2889 | where_clause: ast::WhereClause { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2896:23 [INFO] [stdout] | [INFO] [stdout] 2896 | ast::FnHeader { unsafety, ext, ..ast::FnHeader::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/pprust.rs:2896:56 [INFO] [stdout] | [INFO] [stdout] 2896 | ast::FnHeader { unsafety, ext, ..ast::FnHeader::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 `source_map` [INFO] [stdout] --> src/pprust.rs:2899:24 [INFO] [stdout] | [INFO] [stdout] 2899 | &source_map::dummy_spanned(ast::VisibilityKind::Inherited)); [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/pprust.rs:2899:50 [INFO] [stdout] | [INFO] [stdout] 2899 | &source_map::dummy_spanned(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/pprust.rs:2925:41 [INFO] [stdout] | [INFO] [stdout] 2925 | ... header: ast::FnHeader, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2926:39 [INFO] [stdout] | [INFO] [stdout] 2926 | ... 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/pprust.rs:2930:13 [INFO] [stdout] | [INFO] [stdout] 2930 | ast::Constness::NotConst => {} [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2931:13 [INFO] [stdout] | [INFO] [stdout] 2931 | ast::Constness::Const => self.word_nbsp("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/pprust.rs:2938:13 [INFO] [stdout] | [INFO] [stdout] 2938 | ast::Extern::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/pprust.rs:2939:13 [INFO] [stdout] | [INFO] [stdout] 2939 | ast::Extern::Implicit => { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2942:13 [INFO] [stdout] | [INFO] [stdout] 2942 | ast::Extern::Explicit(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/pprust.rs:2952:41 [INFO] [stdout] | [INFO] [stdout] 2952 | pub fn print_unsafety(&mut self, s: ast::Unsafety) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2954:13 [INFO] [stdout] | [INFO] [stdout] 2954 | ast::Unsafety::Normal => {}, [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2955:13 [INFO] [stdout] | [INFO] [stdout] 2955 | ast::Unsafety::Unsafe => self.word_nbsp("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/pprust.rs:2959:40 [INFO] [stdout] | [INFO] [stdout] 2959 | pub fn print_is_auto(&mut self, s: ast::IsAuto) { [INFO] [stdout] | ^^^ use of undeclared crate or module `ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `ast` [INFO] [stdout] --> src/pprust.rs:2961:13 [INFO] [stdout] | [INFO] [stdout] 2961 | ast::IsAuto::Yes => self.word_nbsp("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/pprust.rs:2962:13 [INFO] [stdout] | [INFO] [stdout] 2962 | 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 type `AssocOp` [INFO] [stdout] --> src/syntax_priv.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | AssocOp::LAnd.precedence() [INFO] [stdout] | ^^^^^^^ use of undeclared type `AssocOp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrStyle` [INFO] [stdout] --> src/syntax_priv.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | StrStyle::Cooked => token::Str, [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StrStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/syntax_priv.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | StrStyle::Cooked => token::Str, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StrStyle` [INFO] [stdout] --> src/syntax_priv.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | StrStyle::Raw(n) => token::StrRaw(n), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `StrStyle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/syntax_priv.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | StrStyle::Raw(n) => token::StrRaw(n), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `token` [INFO] [stdout] --> src/syntax_priv.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | token: token::Lit::new(token_kind, lit.symbol, lit.suffix), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LitKind` [INFO] [stdout] --> src/syntax_priv.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | kind: LitKind::Str(lit.symbol_unescaped, lit.style), [INFO] [stdout] | ^^^^^^^ use of undeclared type `LitKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope [INFO] [stdout] --> src/pprust.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | cm: &'a SourceMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SourceMap` in this scope [INFO] [stdout] --> src/pprust.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | cm: &'a SourceMap, [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/pprust.rs:89:26 [INFO] [stdout] | [INFO] [stdout] 56 | impl<'a> Comments<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, BytePos` [INFO] [stdout] ... [INFO] [stdout] 89 | next_pos: Option, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BytePos` in this scope [INFO] [stdout] --> src/pprust.rs:95:62 [INFO] [stdout] | [INFO] [stdout] 95 | let next = next_pos.unwrap_or_else(|| cmnt.pos + BytePos(1)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenTree` in this scope [INFO] [stdout] --> src/pprust.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | fn tt_prepend_space(tt: &TokenTree) -> bool { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BinOpToken` in this scope [INFO] [stdout] --> src/pprust.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 206 | fn binop_to_string(op: BinOpToken) -> &'static str { [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/pprust.rs:263:80 [INFO] [stdout] | [INFO] [stdout] 263 | fn ident_to_string(name: ast::Name, is_raw: bool, convert_dollar_crate: Option) -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenKind` in this scope [INFO] [stdout] --> src/pprust.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn token_kind_to_string(tok: &TokenKind) -> String { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenKind` in this scope [INFO] [stdout] --> src/pprust.rs:286:35 [INFO] [stdout] | [INFO] [stdout] 286 | fn token_kind_to_string_ext(tok: &TokenKind, convert_dollar_crate: Option) -> String { [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/pprust.rs:286:75 [INFO] [stdout] | [INFO] [stdout] 286 | fn token_kind_to_string_ext(tok: &TokenKind, convert_dollar_crate: Option) -> String { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/pprust.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn token_to_string(token: &Token) -> String { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pp::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/pprust.rs:352:32 [INFO] [stdout] | [INFO] [stdout] 352 | fn token_to_string_ext(token: &Token, convert_dollar_crate: bool) -> String { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pp::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Nonterminal` in this scope [INFO] [stdout] --> src/pprust.rs:357:35 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn nonterminal_to_string(nt: &Nonterminal) -> String { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenStream` in this scope [INFO] [stdout] --> src/pprust.rs:398:30 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn tts_to_string(tokens: TokenStream) -> String { [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/pprust.rs:510:44 [INFO] [stdout] | [INFO] [stdout] 510 | fn maybe_print_comment(&mut self, pos: BytePos) { [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/pprust.rs:673:63 [INFO] [stdout] | [INFO] [stdout] 673 | fn print_attr_item(&mut self, item: &ast::AttrItem, span: Span) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DelimToken` in this scope [INFO] [stdout] --> src/pprust.rs:778:16 [INFO] [stdout] | [INFO] [stdout] 778 | delim: DelimToken, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TokenStream` in this scope [INFO] [stdout] --> src/pprust.rs:779:14 [INFO] [stdout] | [INFO] [stdout] 779 | tts: TokenStream, [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/pprust.rs:781:15 [INFO] [stdout] | [INFO] [stdout] 781 | span: Span, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/pprust.rs:984:38 [INFO] [stdout] | [INFO] [stdout] 984 | ... exprs: &[P]) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GenericArg` in this scope [INFO] [stdout] --> src/pprust.rs:1014:55 [INFO] [stdout] | [INFO] [stdout] 1014 | pub fn print_generic_arg(&mut self, generic_arg: &GenericArg) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/pprust.rs:1827:43 [INFO] [stdout] | [INFO] [stdout] 1827 | fn print_call_post(&mut self, args: &[P]) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/pprust.rs:1867:43 [INFO] [stdout] | [INFO] [stdout] 1867 | fn print_expr_vec(&mut self, exprs: &[P], [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/pprust.rs:1868:32 [INFO] [stdout] | [INFO] [stdout] 1868 | attrs: &[Attribute]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/pprust.rs:1880:35 [INFO] [stdout] | [INFO] [stdout] 1880 | attrs: &[Attribute]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/pprust.rs:1894:39 [INFO] [stdout] | [INFO] [stdout] 1894 | wth: &Option>, [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/pprust.rs:1895:35 [INFO] [stdout] | [INFO] [stdout] 1895 | attrs: &[Attribute]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/pprust.rs:1930:43 [INFO] [stdout] | [INFO] [stdout] 1930 | fn print_expr_tup(&mut self, exprs: &[P], [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> src/pprust.rs:1931:32 [INFO] [stdout] | [INFO] [stdout] 1931 | attrs: &[Attribute]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/pprust.rs:1943:32 [INFO] [stdout] | [INFO] [stdout] 1943 | args: &[P]) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `P` in this scope [INFO] [stdout] --> src/pprust.rs:1956:39 [INFO] [stdout] | [INFO] [stdout] 1956 | ... args: &[P]) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Spanned` in this scope [INFO] [stdout] --> src/pprust.rs:2501:48 [INFO] [stdout] | [INFO] [stdout] 2501 | PatKind::Range(ref begin, ref end, Spanned { node: ref end_kind, .. }) => { [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/pprust.rs:2904:58 [INFO] [stdout] | [INFO] [stdout] 947 | impl<'a> State<'a> { [INFO] [stdout] | - help: you might be missing a type parameter: `, BytePos` [INFO] [stdout] ... [INFO] [stdout] 2904 | next_pos: Option) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StrLit` in this scope [INFO] [stdout] --> src/syntax_priv.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | crate fn as_lit(lit: &StrLit) -> Lit { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Lit` in this scope [INFO] [stdout] --> src/syntax_priv.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | crate fn as_lit(lit: &StrLit) -> Lit { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Lit` in this scope [INFO] [stdout] --> src/syntax_priv.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Lit { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rustc_private)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(crate_visibility_modifier)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/pprust.rs:590:17 [INFO] [stdout] | [INFO] [stdout] 590 | (format!("\"{}\"", st.escape_debug())) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 590 - (format!("\"{}\"", st.escape_debug())) [INFO] [stdout] 590 + format!("\"{}\"", st.escape_debug()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/pprust.rs:593:17 [INFO] [stdout] | [INFO] [stdout] 593 | (format!("r{delim}\"{string}\"{delim}", [INFO] [stdout] | ^ [INFO] [stdout] 594 | delim="#".repeat(n as usize), [INFO] [stdout] 595 | string=st)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 593 ~ format!("r{delim}\"{string}\"{delim}", [INFO] [stdout] 594 | delim="#".repeat(n as usize), [INFO] [stdout] 595 ~ string=st) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `pos` on type `&_` [INFO] [stdout] --> src/pprust.rs:512:21 [INFO] [stdout] | [INFO] [stdout] 512 | if cmnt.pos < pos { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pprust.rs:966:14 [INFO] [stdout] | [INFO] [stdout] 966 | self.rbox(0, b); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `rbox` found for mutable reference `&mut State<'a>` in the current scope [INFO] [stdout] --> src/pprust.rs:966:14 [INFO] [stdout] | [INFO] [stdout] 966 | self.rbox(0, b); [INFO] [stdout] | ^^^^ method not found in `&mut State<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for reference `&[T]` in the current scope [INFO] [stdout] --> src/pprust.rs:967:24 [INFO] [stdout] | [INFO] [stdout] 967 | let len = elts.len(); [INFO] [stdout] | ^^^ method not found in `&[T]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maybe_print_comment` found for mutable reference `&mut State<'a>` in the current scope [INFO] [stdout] --> src/pprust.rs:970:18 [INFO] [stdout] | [INFO] [stdout] 970 | self.maybe_print_comment(get_span(elt).hi()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&mut State<'a>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `PrintState` defines an item `maybe_print_comment`, perhaps you need to implement it [INFO] [stdout] --> src/pprust.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | pub trait PrintState<'a>: std::ops::Deref + std::ops::DerefMut { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `word` found for struct `Printer` in the current scope [INFO] [stdout] --> src/pprust.rs:974:24 [INFO] [stdout] | [INFO] [stdout] 974 | self.s.word(","); [INFO] [stdout] | ^^^^ method not found in `Printer` [INFO] [stdout] | [INFO] [stdout] ::: src/pp.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct Printer { [INFO] [stdout] | ------------------ method `word` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maybe_print_trailing_comment` found for mutable reference `&mut State<'a>` in the current scope [INFO] [stdout] --> src/pprust.rs:975:22 [INFO] [stdout] | [INFO] [stdout] 975 | self.maybe_print_trailing_comment(get_span(elt), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut State<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `space_if_not_bol` found for mutable reference `&mut State<'a>` in the current scope [INFO] [stdout] --> src/pprust.rs:977:22 [INFO] [stdout] | [INFO] [stdout] 977 | self.space_if_not_bol(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `&mut State<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `end` found for mutable reference `&mut State<'a>` in the current scope [INFO] [stdout] --> src/pprust.rs:980:14 [INFO] [stdout] | [INFO] [stdout] 980 | self.end(); [INFO] [stdout] | ^^^ method not found in `&mut State<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `span` on type `&_` [INFO] [stdout] --> src/pprust.rs:985:68 [INFO] [stdout] | [INFO] [stdout] 985 | self.commasep_cmnt(b, exprs, |s, e| s.print_expr(e), |e| e.span) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `span` on type `&_` [INFO] [stdout] --> src/pprust.rs:1523:57 [INFO] [stdout] | [INFO] [stdout] 1523 | ... s.maybe_print_comment(field.span.lo()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `value` on type `&_` [INFO] [stdout] --> src/pprust.rs:1568:36 [INFO] [stdout] | [INFO] [stdout] 1568 | self.print_expr(&d.value) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `is_shorthand` on type `&_` [INFO] [stdout] --> src/pprust.rs:1904:27 [INFO] [stdout] | [INFO] [stdout] 1904 | if !field.is_shorthand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `constraint` on type `&_` [INFO] [stdout] --> src/pprust.rs:2290:42 [INFO] [stdout] | [INFO] [stdout] 2290 | let constraint = out.constraint.as_str(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `is_shorthand` on type `&_` [INFO] [stdout] --> src/pprust.rs:2466:31 [INFO] [stdout] | [INFO] [stdout] 2466 | if !f.is_shorthand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `attrs` on type `&_` [INFO] [stdout] --> src/pprust.rs:2711:52 [INFO] [stdout] | [INFO] [stdout] 2711 | s.print_outer_attributes_inline(¶m.attrs); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 642 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0433, E0463, E0554, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `c2rust-ast-printer` due to 643 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b50f752fbb1a0176c8e8d5e870bcc77b3cfd5bdf1af7f9ce3eee4844a869cc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50f752fbb1a0176c8e8d5e870bcc77b3cfd5bdf1af7f9ce3eee4844a869cc8c", kill_on_drop: false }` [INFO] [stdout] b50f752fbb1a0176c8e8d5e870bcc77b3cfd5bdf1af7f9ce3eee4844a869cc8c