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
{{ message }}
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
Building version 0.7.0 under rustc 1.18.0-nightly (53f4bc311 2017-04-07):
error[E0308]: mismatched types
--> .../docopt_macros-0.7.0/src/macro.rs:316:16
|
316 | types: P::from_vec(vec![cx.ty_ident(sp, ident("String"))]),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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
--> .../docopt_macros-0.7.0/src/macro.rs:317:19
|
317 | bindings: P::new(),
| ^^^^^^^^ expected struct `std::vec::Vec`, found struct `syntax::ptr::P`
|
= note: expected type `std::vec::Vec<syntax::ast::TypeBinding>`
found type `syntax::ptr::P<[_]>`
= help: here are some functions which might fulfill your needs:
- .into_vec()
- .to_vec()
error[E0063]: missing field `span` in initializer of `syntax::ast::PathSegment`
--> .../docopt_macros-0.7.0/src/macro.rs:321:24
|
321 | segments: vec![ast::PathSegment {
| ^^^^^^^^^^^^^^^^ missing `span`
error: aborting due to 3 previous errors
The text was updated successfully, but these errors were encountered:
Building version 0.7.0 under
rustc 1.18.0-nightly (53f4bc311 2017-04-07)
:The text was updated successfully, but these errors were encountered: