Build #56538 2017-06-05T05:17:51.048505+00:00
# rustc version
rustc 1.19.0-dev (28a93c1f4 2017-05-31)
# docs.rs version
cratesfyi 0.4.0-dev (bedcc0c 2017-06-01)
# build log
Build failed, waiting for other jobs to finish...
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading drum v0.4.4
Downloading serde_macros v0.6.14
Downloading bincode v0.4.1
Downloading serde_codegen v0.6.14
Downloading quasi v0.7.0
Downloading quasi_macros v0.7.0
Downloading aster v0.13.1
Downloading quasi_codegen v0.7.0
Fresh libc v0.2.23
Fresh byteorder v0.4.2
Compiling serde_codegen v0.6.14
Compiling quasi v0.7.0
Compiling aster v0.13.1
Fresh num-traits v0.1.37
Fresh rustc-serialize v0.3.24
Running `rustc --crate-name build_script_build .cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen-0.6.14/build.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="nightly"' --cfg 'feature="quasi_macros"' -C metadata=bc44aeb5f409da14 -C extra-filename=-bc44aeb5f409da14 --out-dir /home/cratesfyi/cratesfyi/debug/build/serde_codegen-bc44aeb5f409da14 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `rustc --crate-name aster .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b4c4a7a44a2ccf94 -C extra-filename=-b4c4a7a44a2ccf94 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Fresh rand v0.3.15
Fresh num-integer v0.1.34
Fresh num-complex v0.1.37
Running `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6cb88507341f7bb6 -C extra-filename=-6cb88507341f7bb6 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Fresh num-bigint v0.1.37
Fresh num-iter v0.1.33
Fresh num-rational v0.1.36
Fresh num v0.1.37
Compiling serde v0.6.15
Running `rustc --crate-name serde .cargo/registry/src/github.com-1ecc6299db9ec823/serde-0.6.15/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=eaf5b137e24884e3 -C extra-filename=-eaf5b137e24884e3 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern num=/home/cratesfyi/cratesfyi/debug/deps/libnum-4a2202e45a4195ff.rlib --extern-version num=num,0.1.37 --cap-lints allow`
error[E0432]: unresolved import `syntax::attr::AttributesExt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:6:5
|
6 | use syntax::attr::AttributesExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AttributesExt` in `attr`
error[E0432]: unresolved import `syntax::feature_gate::GatedCfgAttr`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/mac.rs:6:5
|
6 | use syntax::feature_gate::GatedCfgAttr;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GatedCfgAttr` in `feature_gate`. Did you mean to use `GatedCfg`?
error[E0432]: unresolved import `syntax::attr::AttributesExt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:2:5
|
2 | use syntax::attr::AttributesExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AttributesExt` in `attr`
error[E0422]: cannot find struct, variant or union type `Attribute_` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:51:43
|
51 | let attr = respan(self.span, ast::Attribute_ {
| ^^^^^^^^^^ did you mean `Attribute`?
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:171:18
|
171 | name: token::InternedString,
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:278:18
|
278 | name: token::InternedString,
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0433]: failed to resolve. Could not find `special_idents` in `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:114:30
|
114 | self.build_item_kind(token::special_idents::invalid, item)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `special_idents` in `token`
error[E0433]: failed to resolve. Could not find `PathListItemKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:425:44
|
425 | self.idents.push(respan(self.span, ast::PathListItemKind::Mod {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `PathListItemKind` in `ast`
error[E0433]: failed to resolve. Could not find `PathListItemKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:435:44
|
435 | self.idents.push(respan(self.span, ast::PathListItemKind::Ident {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `PathListItemKind` in `ast`
error[E0423]: expected function, found struct `ast::Name`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:724:38
|
724 | self.builder.build_item_kind(ast::Name(0).to_ident(), item_mac)
| ^^^^^^^^^
| |
| did you mean `ast::Name { /* fields */ }`?
| constructor is not visible here due to private fields
error[E0433]: failed to resolve. Could not find `special_idents` in `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:1183:38
|
1183 | self.builder.build_item_kind(token::special_idents::invalid, ty_)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `special_idents` in `token`
error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/mac.rs:23:22
|
23 | tokens: Vec<ast::TokenTree>,
| ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;
error[E0425]: cannot find value `EMPTY_CTXT` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/mac.rs:59:24
|
59 | ctxt: ast::EMPTY_CTXT,
| ^^^^^^^^^^ not found in `ast`
error[E0425]: cannot find function `intern` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/name.rs:18:16
|
18 | token::intern(*self)
| ^^^^^^ not found in `token`
Running `/home/cratesfyi/cratesfyi/debug/build/serde_codegen-bc44aeb5f409da14/build-script-build`
error[E0433]: failed to resolve. Could not find `DeclKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:66:38
|
66 | let decl = respan(self.span, ast::DeclKind::Local(P(local)));
| ^^^^^^^^^^^^^^^^^^^^ Could not find `DeclKind` in `ast`
error[E0433]: failed to resolve. Could not find `DeclKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:97:38
|
97 | let decl = respan(self.span, ast::DeclKind::Item(item));
| ^^^^^^^^^^^^^^^^^^^ Could not find `DeclKind` in `ast`
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:12:44
|
12 | fn to_interned_string(&self) -> token::InternedString;
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:15:34
|
15 | impl ToInternedString for token::InternedString {
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:16:44
|
16 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:22:44
|
22 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0425]: cannot find function `intern_and_get_ident` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:23:16
|
23 | token::intern_and_get_ident(self)
| ^^^^^^^^^^^^^^^^^^^^ not found in `token`
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:28:44
|
28 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:34:44
|
34 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/str.rs:40:44
|
40 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0412]: cannot find type `StructFieldKind` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/struct_field.rs:15:16
|
15 | kind: ast::StructFieldKind,
| ^^^^^^^^^^^^^^^ did you mean `StructField`?
error[E0433]: failed to resolve. Could not find `StructFieldKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/struct_field.rs:41:19
|
41 | kind: ast::StructFieldKind::NamedField(id, ast::Visibility::Inherited),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `StructFieldKind` in `ast`
error[E0433]: failed to resolve. Could not find `StructFieldKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/struct_field.rs:50:19
|
50 | kind: ast::StructFieldKind::UnnamedField(ast::Visibility::Inherited),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `StructFieldKind` in `ast`
error[E0433]: failed to resolve. Could not find `StructFieldKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/struct_field.rs:62:13
|
62 | ast::StructFieldKind::NamedField(_, ref mut vis)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `StructFieldKind` in `ast`
error[E0433]: failed to resolve. Could not find `StructFieldKind` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/struct_field.rs:63:15
|
63 | | ast::StructFieldKind::UnnamedField(ref mut vis) => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `StructFieldKind` in `ast`
error[E0422]: cannot find struct, variant or union type `StructField_` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/struct_field.rs:83:26
|
83 | let field = ast::StructField_ {
| ^^^^^^^^^^^^ did you mean `StructField`?
error[E0412]: cannot find type `InternedString` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lib.rs:62:54
|
62 | pub fn interned_string<S>(&self, s: S) -> token::InternedString
| ^^^^^^^^^^^^^^ not found in `token`
|
help: possible candidate is found in another module, you can import it into scope
| use syntax::symbol::InternedString;
error[E0432]: unresolved import `syntax::ast::TokenTree`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:23:25
|
23 | use syntax::ast::{self, TokenTree};
| ^^^^^^^^^ no `TokenTree` in `ast`
error[E0432]: unresolved import `syntax::parse::parse_tts_from_source_str`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:26:37
|
26 | use syntax::parse::{self, classify, parse_tts_from_source_str, token};
| ^^^^^^^^^^^^^^^^^^^^^^^^^ no `parse_tts_from_source_str` in `parse`. Did you mean to use `parse_stmt_from_source_str`?
error[E0432]: unresolved import `errors::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:340:9
|
340 | panictry!(parser.parse_expr())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`?
|
= note: this error originates in a macro outside of the current crate
error[E0432]: unresolved import `errors::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:344:9
|
344 | panictry!(parser.parse_item())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`?
|
= note: this error originates in a macro outside of the current crate
error[E0432]: unresolved import `errors::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:348:9
|
348 | panictry!(parser.parse_pat())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`?
|
= note: this error originates in a macro outside of the current crate
error[E0432]: unresolved import `errors::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:352:9
|
352 | panictry!(parser.parse_arm())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`?
|
= note: this error originates in a macro outside of the current crate
error[E0432]: unresolved import `errors::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:356:9
|
356 | panictry!(parser.parse_ty())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`?
|
= note: this error originates in a macro outside of the current crate
error[E0432]: unresolved import `errors::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:360:5
|
360 | panictry!(parser.parse_stmt())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`?
|
= note: this error originates in a macro outside of the current crate
error[E0432]: unresolved import `errors::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:364:9
|
364 | panictry!(parser.parse_attribute(permit_inner))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean `syntax::errors`?
|
= note: this error originates in a macro outside of the current crate
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:79:14
|
79 | vec![ast::TokenTree::Token(DUMMY_SP, token::Ident(*self, token::Plain))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0425]: cannot find value `Plain` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:79:73
|
79 | vec![ast::TokenTree::Token(DUMMY_SP, token::Ident(*self, token::Plain))]
| ^^^^^ not found in `token`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:85:14
|
85 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:91:14
|
91 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(P(self.clone()))))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:97:14
|
97 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:103:14
|
103 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtBlock(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:109:14
|
109 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtItem(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:115:14
|
115 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:121:14
|
121 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:146:13
|
146 | ast::TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone()))))
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:151:22
|
151 | tts.push(ast::TokenTree::Token(self.span, token::Semi));
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:160:14
|
160 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtExpr(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:166:14
|
166 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtPat(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:172:14
|
172 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtArm(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:193:35
|
193 | impl_to_tokens_slice! { ast::Ty, [ast::TokenTree::Token(DUMMY_SP, token::Comma)] }
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:198:14
|
198 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:206:16
|
206 | r.push(ast::TokenTree::Token(self.span, token::Pound));
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:208:20
|
208 | r.push(ast::TokenTree::Token(self.span, token::Not));
| ^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:210:16
|
210 | r.push(ast::TokenTree::Delimited(self.span, Rc::new(ast::Delimited {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0422]: cannot find struct, variant or union type `Delimited` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:210:66
|
210 | r.push(ast::TokenTree::Delimited(self.span, Rc::new(ast::Delimited {
| ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::Delimited;
| use syntax::ext::tt::quoted::TokenTree::Delimited;
| use syntax::tokenstream::Delimited;
| use syntax::tokenstream::TokenTree::Delimited;
error[E0425]: cannot find function `intern_and_get_ident` in module `token`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:224:20
|
224 | token::intern_and_get_ident(self), ast::StrStyle::Cooked);
| ^^^^^^^^^^^^^^^^^^^^ not found in `token`
error[E0433]: failed to resolve. Could not find `TokenTree` in `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:231:14
|
231 | vec![ast::TokenTree::Delimited(DUMMY_SP, Rc::new(ast::Delimited {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `TokenTree` in `ast`
error[E0422]: cannot find struct, variant or union type `Delimited` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:231:63
|
231 | vec![ast::TokenTree::Delimited(DUMMY_SP, Rc::new(ast::Delimited {
| ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::Delimited;
| use syntax::ext::tt::quoted::TokenTree::Delimited;
| use syntax::tokenstream::Delimited;
| use syntax::tokenstream::TokenTree::Delimited;
error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:304:48
|
304 | fn parse_tts(&self, s: String) -> Vec<ast::TokenTree>;
| ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;
error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:331:48
|
331 | fn parse_tts(&self, s: String) -> Vec<ast::TokenTree> {
| ^^^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;
error[E0425]: cannot find function `parse_tts_from_source_str` in module `parse`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:332:16
|
332 | parse::parse_tts_from_source_str("<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `parse_item_from_source_str`?
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:79:59
|
79 | vec![ast::TokenTree::Token(DUMMY_SP, token::Ident(*self, token::Plain))]
| ^^^^^^^^^^^^^^^^^^^ expected 1 parameter
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:85:80
|
85 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))]
| ^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Path`, found struct `std::boxed::Box`
|
= note: expected type `syntax::ast::Path`
found type `std::boxed::Box<syntax::ast::Path>`
= help: here are some functions which might fulfill your needs:
- .default_to_global()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:85:66
|
85 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:91:67
|
91 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(P(self.clone()))))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:97:67
|
97 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTy(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:103:67
|
103 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtBlock(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:109:67
|
109 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtItem(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:115:85
|
115 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))]
| ^^^^^^^^^^^^ expected struct `syntax::ast::ImplItem`, found struct `syntax::ptr::P`
|
= note: expected type `syntax::ast::ImplItem`
found type `syntax::ptr::P<syntax::ast::ImplItem>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:115:67
|
115 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtImplItem(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:121:86
|
121 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))]
| ^^^^^^^^^^^^ expected struct `syntax::ast::TraitItem`, found struct `syntax::ptr::P`
|
= note: expected type `syntax::ast::TraitItem`
found type `syntax::ptr::P<syntax::ast::TraitItem>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:121:67
|
121 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtTraitItem(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:146:80
|
146 | ast::TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone()))))
| ^^^^^^^^^^^^^^^ expected struct `syntax::ast::Stmt`, found struct `syntax::ptr::P`
|
= note: expected type `syntax::ast::Stmt`
found type `syntax::ptr::P<syntax::ast::Stmt>`
= help: here are some functions which might fulfill your needs:
- .add_trailing_semicolon()
- .unwrap()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:146:66
|
146 | ast::TokenTree::Token(self.span, token::Interpolated(token::NtStmt(P(self.clone()))))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:160:67
|
160 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtExpr(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:166:67
|
166 | vec![ast::TokenTree::Token(self.span, token::Interpolated(token::NtPat(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:172:66
|
172 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtArm(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:198:80
|
198 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))]
| ^^^^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::ptr::P`
|
= note: expected type `syntax::ast::MetaItem`
found type `syntax::ptr::P<syntax::ast::MetaItem>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:198:66
|
198 | vec![ast::TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtMeta(self.clone())))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::rc::Rc`, found enum `syntax::parse::token::Nonterminal`
|
= note: expected type `std::rc::Rc<syntax::parse::token::Nonterminal>`
found type `syntax::parse::token::Nonterminal`
error: no field `node` on type `&syntax::ast::Attribute`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:207:17
|
207 | if self.node.style == ast::AttrStyle::Inner {
| ^^^^
error: no field `node` on type `&syntax::ast::Attribute`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:213:23
|
213 | tts: self.node.value.to_tokens(cx),
| ^^^^
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:247:20
|
247 | attrs: None,
| ^^^^ expected struct `syntax::util::ThinVec`, found enum `std::option::Option`
|
= note: expected type `syntax::util::ThinVec<syntax::ast::Attribute>`
found type `std::option::Option<_>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
- .unwrap_or_default()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:273:45
|
273 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag));
| ^^^^^^^^^^ expected u128, found u64
...
288 | impl_to_tokens_int! { signed, isize, ast::IntTy::Is }
| ----------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:273:45
|
273 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag));
| ^^^^^^^^^^ expected u128, found u64
...
289 | impl_to_tokens_int! { signed, i8, ast::IntTy::I8 }
| --------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:273:45
|
273 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag));
| ^^^^^^^^^^ expected u128, found u64
...
290 | impl_to_tokens_int! { signed, i16, ast::IntTy::I16 }
| ---------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:273:45
|
273 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag));
| ^^^^^^^^^^ expected u128, found u64
...
291 | impl_to_tokens_int! { signed, i32, ast::IntTy::I32 }
| ---------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:273:45
|
273 | let lit = ast::LitKind::Int(val as u64, ast::LitIntType::Signed($tag));
| ^^^^^^^^^^ expected u128, found u64
...
292 | impl_to_tokens_int! { signed, i64, ast::IntTy::I64 }
| ---------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:281:45
|
281 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag));
| ^^^^^^^^^^^^ expected u128, found u64
...
294 | impl_to_tokens_int! { unsigned, usize, ast::UintTy::Us }
| -------------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:281:45
|
281 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag));
| ^^^^^^^^^^^^ expected u128, found u64
...
295 | impl_to_tokens_int! { unsigned, u8, ast::UintTy::U8 }
| ------------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:281:45
|
281 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag));
| ^^^^^^^^^^^^ expected u128, found u64
...
296 | impl_to_tokens_int! { unsigned, u16, ast::UintTy::U16 }
| -------------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:281:45
|
281 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag));
| ^^^^^^^^^^^^ expected u128, found u64
...
297 | impl_to_tokens_int! { unsigned, u32, ast::UintTy::U32 }
| -------------------------------------------------------- in this macro invocation
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:281:45
|
281 | let lit = ast::LitKind::Int(*self as u64, ast::LitIntType::Unsigned($tag));
| ^^^^^^^^^^^^ expected u128, found u64
...
298 | impl_to_tokens_int! { unsigned, u64, ast::UintTy::U64 }
| -------------------------------------------------------- in this macro invocation
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:311:13
|
311 | "<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:310:9
|
310 | / parse::parse_item_from_source_str(
311 | | "<quote expansion>".to_string(),
312 | | s,
313 | | self.cfg(),
314 | | self.parse_sess()).expect("parse error")
| |____________________________________________________^ expected struct `syntax::ptr::P`, found enum `std::option::Option`
|
= note: expected type `syntax::ptr::P<_>`
found type `std::option::Option<syntax::ptr::P<_>>`
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:318:43
|
318 | parse::parse_stmt_from_source_str("<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:318:9
|
318 | / parse::parse_stmt_from_source_str("<quote expansion>".to_string(),
319 | | s,
320 | | self.cfg(),
321 | | self.parse_sess()).expect("parse error")
| |__________________________________________________________________________________^ expected struct `syntax::ast::Stmt`, found enum `std::option::Option`
|
= note: expected type `syntax::ast::Stmt`
found type `std::option::Option<syntax::ast::Stmt>`
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:325:43
|
325 | parse::parse_expr_from_source_str("<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs:325:9
|
325 | / parse::parse_expr_from_source_str("<quote expansion>".to_string(),
326 | | s,
327 | | self.cfg(),
328 | | self.parse_sess())
| |____________________________________________________________^ expected struct `syntax::ptr::P`, found enum `std::result::Result`
|
= note: expected type `syntax::ptr::P<_>`
found type `std::result::Result<syntax::ptr::P<_>, syntax::<unnamed>::DiagnosticBuilder<'_>>`
error: aborting due to previous error(s)
error: Could not compile `quasi`.
Caused by:
process didn't exit successfully: `rustc --crate-name quasi .cargo/registry/src/github.com-1ecc6299db9ec823/quasi-0.7.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6cb88507341f7bb6 -C extra-filename=-6cb88507341f7bb6 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101)
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:57:30
|
57 | self.callback.invoke(attr)
| ^^^^ expected struct `syntax::ast::Attribute`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::Attribute`
found type `syntax::codemap::Spanned<_>`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:62:30
|
62 | self.build_meta_item(item)
| ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ptr::P<syntax::ast::MetaItem>`
found type `syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>`
= help: here are some functions which might fulfill your needs:
- .unwrap()
error: `ast::MetaItemKind::Word` is being called, but it is not a function
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:68:31
|
68 | self.build_meta_item_(ast::MetaItemKind::Word(word.to_interned_string()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: did you mean to write `ast::MetaItemKind::Word`?
error[E0271]: type mismatch resolving `<[closure@.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:206:39: 206:67 span:_] as std::ops::FnOnce<(syntax::ast::MetaItemKind,)>>::Output == syntax::ptr::P<syntax::ast::MetaItem>`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:206:14
|
206 | self.with_meta_items(iter.map(|item| P(respan(span, item))))
| ^^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found struct `syntax::ast::MetaItem`
|
= note: expected type `syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>`
found type `syntax::ptr::P<syntax::ast::MetaItem>`
= note: required because of the requirements on the impl of `std::iter::Iterator` for `std::iter::Map<<I as std::iter::IntoIterator>::IntoIter, [closure@.cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:206:39: 206:67 span:_]>`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:216:31
|
216 | self.with_meta_item(P(respan(span, item)))
| ^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::MetaItem`
found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>`
error: `ast::MetaItemKind::Word` is being called, but it is not a function
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:224:47
|
224 | self.with_meta_items_(iter.map(|word| ast::MetaItemKind::Word(word.to_interned_string())))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: did you mean to write `ast::MetaItemKind::Word`?
error: `ast::MetaItemKind::Word` is being called, but it is not a function
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:230:34
|
230 | self.with_meta_item_kind(ast::MetaItemKind::Word(word.to_interned_string()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: did you mean to write `ast::MetaItemKind::Word`?
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:249:62
|
249 | let item = respan(self.span, ast::MetaItemKind::List(self.name, self.items));
| ^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:250:32
|
250 | self.callback.invoke(P(item))
| ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::MetaItem`
found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>`
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/attr.rs:285:49
|
285 | let item = ast::MetaItemKind::NameValue(self.name, (*value).clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter
error[E0560]: struct `syntax::ast::Block` has no field named `expr`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/block.rs:80:13
|
80 | expr: expr,
| ^^^^^ `syntax::ast::Block` does not have this field
error[E0599]: no method named `into_thin_attrs` found for type `std::vec::Vec<syntax::ast::Attribute>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:70:39
|
70 | attrs: self.attrs.clone().into_thin_attrs(),
| ^^^^^^^^^^^^^^^
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:416:51
|
416 | self.build_expr_kind(ast::ExprKind::Break(None))
| ^^^^ expected 2 parameters
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:423:51
|
423 | self.build_expr_kind(ast::ExprKind::Break(Some(label)))
| ^^^^^^^^^^^ expected 2 parameters
error[E0599]: no associated item named `Again` found for type `syntax::ast::ExprKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:427:30
|
427 | self.build_expr_kind(ast::ExprKind::Again(None))
| ^^^^^^^^^^^^^^^^^^^^
error[E0599]: no associated item named `Again` found for type `syntax::ast::ExprKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:434:30
|
434 | self.build_expr_kind(ast::ExprKind::Again(Some(label)))
| ^^^^^^^^^^^^^^^^^^^^
error[E0063]: missing fields `attrs`, `is_shorthand` in initializer of `syntax::ast::Field`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:1012:21
|
1012 | let field = ast::Field {
| ^^^^^^^^^^ missing `attrs`, `is_shorthand`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:1387:65
|
1387 | self.builder.build_expr_kind(ast::ExprKind::Loop(block, self.label))
| ^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found struct `syntax::ast::Ident`
|
= note: expected type `std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>`
found type `std::option::Option<syntax::ast::Ident>`
= help: here are some functions which might fulfill your needs:
- .take()
- .unwrap()
error[E0599]: no associated item named `Vec` found for type `syntax::ast::ExprKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/expr.rs:1701:38
|
1701 | self.builder.build_expr_kind(ast::ExprKind::Vec(self.exprs))
| ^^^^^^^^^^^^^^^^^^
error[E0599]: no associated item named `None` found for type `syntax::ast::FunctionRetTy` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/fn_decl.rs:88:22
|
88 | let ret_ty = ast::FunctionRetTy::None(self.span);
| ^^^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no method named `into_vec` found for type `std::vec::Vec<syntax::ast::TyParam>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/generics.rs:53:43
|
53 | ty_params: generics.ty_params.into_vec(),
| ^^^^^^^^
error[E0599]: no method named `move_iter` found for type `std::vec::Vec<syntax::ast::TyParam>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/generics.rs:60:48
|
60 | .with_ty_params(generics.ty_params.move_iter())
| ^^^^^^^^^
error[E0599]: no associated item named `empty` found for type `syntax::ptr::P<_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/generics.rs:203:31
|
203 | ty_param.bounds = P::empty();
| ^^^^^^^^
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/generics.rs:216:24
|
216 | ty_params: P::from_vec(self.ty_params),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TyParam>`
found type `syntax::ptr::P<[syntax::ast::TyParam]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0063]: missing field `span` in initializer of `syntax::ast::Generics`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/generics.rs:214:30
|
214 | self.callback.invoke(ast::Generics {
| ^^^^^^^^^^^^^ missing `span`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:316:13
|
316 | self.constness,
| ^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found enum `syntax::ast::Constness`
|
= note: expected type `syntax::codemap::Spanned<syntax::ast::Constness>`
found type `syntax::ast::Constness`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:878:13
|
878 | P::from_vec(self.bounds),
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TyParamBound>`
found type `syntax::ptr::P<[syntax::ast::TyParamBound]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:1092:45
|
1092 | let node = ast::TraitItemKind::Type(bounds, ty);
| ^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TyParamBound>`
found type `syntax::ptr::P<[syntax::ast::TyParamBound]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0061]: this function takes 7 parameters but 6 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:1177:13
|
1177 | self.unsafety,
| ^^^^^^^^^^^^^ expected 7 parameters
error[E0063]: missing field `defaultness` in initializer of `syntax::ast::ImplItem`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/item.rs:1350:20
|
1350 | let item = ast::ImplItem {
| ^^^^^^^^^^^^^ missing `defaultness`
error[E0560]: struct `syntax::ast::Lifetime` has no field named `name`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lifetime.rs:24:13
|
24 | name: self.to_name(),
| ^^^^^ `syntax::ast::Lifetime` does not have this field
error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lifetime.rs:43:9
|
43 | ast::LifetimeDef {
| ^^^^^^^^^^^^^^^^ missing `attrs`
error[E0560]: struct `syntax::ast::Lifetime` has no field named `name`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lifetime.rs:87:13
|
87 | name: name.to_name(),
| ^^^^^ `syntax::ast::Lifetime` does not have this field
error[E0560]: struct `syntax::ast::Lifetime` has no field named `name`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lifetime.rs:103:13
|
103 | name: name.to_name(),
| ^^^^^ `syntax::ast::Lifetime` does not have this field
error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lifetime.rs:111:30
|
111 | self.callback.invoke(ast::LifetimeDef {
| ^^^^^^^^^^^^^^^^ missing `attrs`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lit.rs:61:42
|
61 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Unsuffixed))
| ^^^^^^^^^^^^ expected u128, found u64
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lit.rs:66:42
|
66 | self.build_lit(ast::LitKind::Int(value as u64, ast::LitIntType::Signed(ty)))
| ^^^^^^^^^^^^ expected u128, found u64
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lit.rs:94:42
|
94 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsuffixed))
| ^^^^^ expected u128, found u64
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lit.rs:98:42
|
98 | self.build_lit(ast::LitKind::Int(value, ast::LitIntType::Unsigned(ty)))
| ^^^^^ expected u128, found u64
error[E0560]: struct `syntax::ast::Mac_` has no field named `ctxt`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/mac.rs:59:13
|
59 | ctxt: ast::EMPTY_CTXT,
| ^^^^^ `syntax::ast::Mac_` does not have this field
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/mac.rs:73:26
|
73 | let parse_sess = ParseSess::new();
| ^^^^^^^^^^^^^^^^ expected 1 parameter
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/mac.rs:112:31
|
112 | let mut cx = ExtCtxt::new(&sess, cfg, ecfg, feature_gated_cfgs);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters
error[E0599]: no method named `bt_push` found for type `syntax::ext::base::ExtCtxt<'_>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/mac.rs:113:8
|
113 | cx.bt_push(info);
| ^^^^^^^
error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:43:45
|
43 | explicit_self: respan(DUMMY_SP, ast::SelfKind::Static),
| ^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:90:13
|
90 | ast::SelfKind::Static => { }
| ^^^^^^^^^^^^^^^^^^^^^
error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:92:15
|
92 | | ast::SelfKind::Region(_, _, id)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 fields, found 3
error[E0599]: no associated item named `new_self` found for type `syntax::ast::Arg` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:95:31
|
95 | let arg = ast::Arg::new_self(self.span, self.self_mutable, id);
| ^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:104:24
|
104 | constness: self.constness,
| ^^^^^^^^^^^^^^ expected struct `syntax::codemap::Spanned`, found enum `syntax::ast::Constness`
|
= note: expected type `syntax::codemap::Spanned<syntax::ast::Constness>`
found type `syntax::ast::Constness`
error[E0560]: struct `syntax::ast::MethodSig` has no field named `explicit_self`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:108:13
|
108 | explicit_self: self.explicit_self,
| ^^^^^^^^^^^^^^ `syntax::ast::MethodSig` does not have this field
error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:192:30
|
192 | self.build_self_kind(ast::SelfKind::Static)
| ^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no associated item named `Static` found for type `syntax::ast::SelfKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:196:30
|
196 | self.build_self_kind(ast::SelfKind::Static)
| ^^^^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:200:51
|
200 | self.build_self_kind(ast::SelfKind::Value("self".to_ident()))
| ^^^^^^^^^^^^^^^^^ expected enum `syntax::ast::Mutability`, found struct `syntax::ast::Ident`
|
= note: expected type `syntax::ast::Mutability`
found type `syntax::ast::Ident`
error[E0061]: this function takes 2 parameters but 3 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:205:13
|
205 | None,
| ^^^^ expected 2 parameters
error[E0061]: this function takes 2 parameters but 3 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:215:13
|
215 | Some(lifetime.into_lifetime()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
error[E0061]: this function takes 2 parameters but 3 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:223:13
|
223 | None,
| ^^^^ expected 2 parameters
error[E0061]: this function takes 2 parameters but 3 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:233:13
|
233 | Some(lifetime.into_lifetime()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/method.rs:250:58
|
250 | self.build_self_kind(ast::SelfKind::Explicit(ty, "self".to_ident()))
| ^^^^^^^^^^^^^^^^^ expected enum `syntax::ast::Mutability`, found struct `syntax::ast::Ident`
|
= note: expected type `syntax::ast::Mutability`
found type `syntax::ast::Ident`
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:108:48
|
108 | self.build_pat_kind(ast::PatKind::Path(path))
| ^^^^ expected 2 parameters
error[E0599]: no associated item named `QPath` found for type `syntax::ast::PatKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:112:29
|
112 | self.build_pat_kind(ast::PatKind::QPath(qself, path))
| ^^^^^^^^^^^^^^^^^^^
error[E0061]: this function takes 3 parameters but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:124:49
|
124 | self.build_pat_kind(ast::PatKind::Range(lhs, rhs))
| ^^^^^^^^ expected 3 parameters
error[E0061]: this function takes 3 parameters but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:248:63
|
248 | self.builder.build_pat_kind(ast::PatKind::TupleStruct(self.path, Some(self.pats)))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters
error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:331:29
|
331 | self.with_field_pat(ast::FieldPat {
| ^^^^^^^^^^^^^ missing `attrs`
error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:345:29
|
345 | self.with_field_pat(ast::FieldPat {
| ^^^^^^^^^^^^^ missing `attrs`
error[E0063]: missing field `attrs` in initializer of `syntax::ast::FieldPat`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:374:37
|
374 | self.builder.with_field_pat(ast::FieldPat {
| ^^^^^^^^^^^^^ missing `attrs`
error[E0599]: no associated item named `Tup` found for type `syntax::ast::PatKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/pat.rs:423:37
|
423 | self.builder.build_pat_kind(ast::PatKind::Tup(self.pats))
| ^^^^^^^^^^^^^^^^^
error[E0560]: struct `syntax::ast::Path` has no field named `global`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/path.rs:158:13
|
158 | global: self.global,
| ^^^^^^^ `syntax::ast::Path` does not have this field
error[E0560]: struct `syntax::ast::Lifetime` has no field named `name`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/path.rs:239:13
|
239 | name: name.to_name(),
| ^^^^^ `syntax::ast::Lifetime` does not have this field
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/path.rs:277:20
|
277 | types: P::from_vec(self.tys),
| ^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ptr::P<syntax::ast::Ty>>`
found type `syntax::ptr::P<[syntax::ptr::P<syntax::ast::Ty>]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/path.rs:278:23
|
278 | bindings: P::from_vec(self.bindings),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TypeBinding>`
found type `syntax::ptr::P<[syntax::ast::TypeBinding]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/path.rs:285:25
|
285 | parameters: parameters,
| ^^^^^^^^^^ expected enum `std::option::Option`, found enum `syntax::ast::PathParameters`
|
= note: expected type `std::option::Option<syntax::ptr::P<syntax::ast::PathParameters>>`
found type `syntax::ast::PathParameters`
error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/path.rs:283:30
|
283 | self.callback.invoke(ast::PathSegment {
| ^^^^^^^^^^^^^^^^ missing `span`
error[E0560]: struct `syntax::ast::Path` has no field named `global`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/qpath.rs:93:13
|
93 | global: false,
| ^^^^^^^ `syntax::ast::Path` does not have this field
error[E0560]: struct `syntax::ast::Path` has no field named `global`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/qpath.rs:104:13
|
104 | global: false,
| ^^^^^^^ `syntax::ast::Path` does not have this field
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:50:20
|
50 | self.build(stmt)
| ^^^^ expected struct `syntax::ast::Stmt`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::Stmt`
found type `syntax::codemap::Spanned<syntax::ast::StmtKind>`
error[E0599]: no method named `into_thin_attrs` found for type `std::vec::Vec<syntax::ast::Attribute>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:63:39
|
63 | attrs: self.attrs.clone().into_thin_attrs(),
| ^^^^^^^^^^^^^^^
error[E0599]: no associated item named `Decl` found for type `syntax::ast::StmtKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:68:30
|
68 | self.build_stmt_kind(ast::StmtKind::Decl(P(decl), ast::DUMMY_NODE_ID))
| ^^^^^^^^^^^^^^^^^^^
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:83:50
|
83 | self.build_stmt_kind(ast::StmtKind::Expr(expr, ast::DUMMY_NODE_ID))
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter
error[E0599]: no associated item named `Decl` found for type `syntax::ast::StmtKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:98:30
|
98 | self.build_stmt_kind(ast::StmtKind::Decl(P(decl), ast::DUMMY_NODE_ID))
| ^^^^^^^^^^^^^^^^^^^
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/stmt.rs:158:52
|
158 | self.0.build_stmt_kind(ast::StmtKind::Semi(expr, ast::DUMMY_NODE_ID))
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 parameter
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/struct_field.rs:89:30
|
89 | self.callback.invoke(respan(self.span, field))
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::StructField`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::StructField`
found type `syntax::codemap::Spanned<_>`
error[E0599]: no associated item named `Vec` found for type `syntax::ast::TyKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/ty.rs:142:28
|
142 | self.build_ty_kind(ast::TyKind::Vec(ty))
| ^^^^^^^^^^^^^^^^
error[E0560]: struct `syntax::ast::Lifetime` has no field named `name`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/ty.rs:252:13
|
252 | name: name.to_name(),
| ^^^^^ `syntax::ast::Lifetime` does not have this field
error[E0599]: no associated item named `ObjectSum` found for type `syntax::ast::TyKind` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/ty.rs:479:36
|
479 | self.builder.build_ty_kind(ast::TyKind::ObjectSum(self.ty, bounds))
| ^^^^^^^^^^^^^^^^^^^^^^
error[E0599]: no method named `into_vec` found for type `std::vec::Vec<syntax::ast::TyParamBound>` in the current scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/ty_param.rs:54:37
|
54 | bounds: ty_param.bounds.into_vec(),
| ^^^^^^^^
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/ty_param.rs:105:21
|
105 | bounds: P::from_vec(self.bounds),
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TyParamBound>`
found type `syntax::ptr::P<[syntax::ast::TyParamBound]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0063]: missing field `attrs` in initializer of `syntax::ast::TyParam`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/ty_param.rs:102:30
|
102 | self.callback.invoke(ast::TyParam {
| ^^^^^^^^^^^^ missing `attrs`
error[E0308]: mismatched types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/where_predicate.rs:242:21
|
242 | bounds: P::from_vec(self.bounds),
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TyParamBound>`
found type `syntax::ptr::P<[syntax::ast::TyParamBound]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `path`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/where_predicate.rs:320:13
|
320 | path: path,
| ^^^^^ `syntax::ast::WhereEqPredicate` does not have this field
error[E0560]: struct `syntax::ast::WhereEqPredicate` has no field named `ty`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/where_predicate.rs:321:13
|
321 | ty: ty,
| ^^^ `syntax::ast::WhereEqPredicate` does not have this field
error: aborting due to previous error(s)
error: Could not compile `aster`.
Caused by:
process didn't exit successfully: `rustc --crate-name aster .cargo/registry/src/github.com-1ecc6299db9ec823/aster-0.13.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b4c4a7a44a2ccf94 -C extra-filename=-b4c4a7a44a2ccf94 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101)
thread 'main' panicked at 'build failed', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.