string_to_expr 0.0.2

Compile-time expression evaluation for strings
Build #104373 2018-06-06T10:38:18.084556+00:00
# rustc version
rustc 1.28.0-dev (b9bf4f162 2018-06-02)
# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)

# build log
Updating registry `https://github.com/rust-lang/crates.io-index`
Documenting string_to_expr v0.0.2
Running `rustdoc --crate-name string_to_expr .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error[E0432]: unresolved import `rustc::plugin`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/lib.rs:11:12
|
11 | use rustc::plugin::Registry;
|            ^^^^^^ Could not find `plugin` in `rustc`

error[E0432]: unresolved import `syntax::diagnostic`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/parser_any_macro.rs:14:21
|
14 |         use syntax::diagnostic::FatalError;
|                     ^^^^^^^^^^ Could not find `diagnostic` in `syntax`
...
41 |             panictry!(parser.bump())
|             ------------------------ in this macro invocation

error[E0432]: unresolved import `syntax::diagnostic`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/parser_any_macro.rs:14:21
|
14 |         use syntax::diagnostic::FatalError;
|                     ^^^^^^^^^^ Could not find `diagnostic` in `syntax`
...
81 |                 _ => ret.push(panictry!(parser.parse_impl_item()))
|                               ----------------------------------- in this macro invocation

error[E0412]: cannot find type `TokenTree` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/lib.rs:22:35
|
22 |                       tts: &[ast::TokenTree]) -> Box<MacResult + 'a> {
|                                   ^^^^^^^^^ not found in `ast`
help: possible candidates are found in other modules, you can import them into scope
|
6  | use syntax::ext::tt::quoted::TokenTree;
|
6  | use syntax::tokenstream::TokenTree;
|

error[E0053]: method `make_impl_items` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/parser_any_macro.rs:74:5
|
74 | /     fn make_impl_items(self: Box<ParserAnyMacro<'a>>)
75 | |                        -> Option<SmallVector<P<ast::ImplItem>>> {
76 | |         let mut ret = SmallVector::zero();
77 | |         loop {
...  |
85 | |         Some(ret)
86 | |     }
| |_____^ expected struct `syntax::ast::ImplItem`, found struct `syntax::ptr::P`
|
= note: expected type `fn(std::boxed::Box<parser_any_macro::ParserAnyMacro<'a>>) -> std::option::Option<rustc_data_structures::small_vec::SmallVec<[syntax::ast::ImplItem; 1]>>`
found type `fn(std::boxed::Box<parser_any_macro::ParserAnyMacro<'a>>) -> std::option::Option<rustc_data_structures::small_vec::SmallVec<[syntax::ptr::P<syntax::ast::ImplItem>; 1]>>`

error[E0053]: method `make_stmts` has an incompatible type for trait
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/parser_any_macro.rs:88:5
|
88  | /     fn make_stmts(self: Box<ParserAnyMacro<'a>>)
89  | |                  -> Option<SmallVector<P<ast::Stmt>>> {
90  | |         let mut ret = SmallVector::zero();
91  | |         loop {
...   |
105 | |         Some(ret)
106 | |     }
| |_____^ expected struct `syntax::ast::Stmt`, found struct `syntax::ptr::P`
|
= note: expected type `fn(std::boxed::Box<parser_any_macro::ParserAnyMacro<'a>>) -> std::option::Option<rustc_data_structures::small_vec::SmallVec<[syntax::ast::Stmt; 1]>>`
found type `fn(std::boxed::Box<parser_any_macro::ParserAnyMacro<'a>>) -> std::option::Option<rustc_data_structures::small_vec::SmallVec<[syntax::ptr::P<syntax::ast::Stmt>; 1]>>`

error: Compilation failed, aborting rustdoc

thread 'main' panicked at 'Error(
CargoError(
ChainedError {
error: Could not document `string_to_expr`.,
cause: process didn't exit successfully: `rustdoc --crate-name string_to_expr .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/lib.rs -o /home/cratesfyi/cratesfyi/doc -Z unstable-options --resource-suffix -20180602-1.28.0-dev-b9bf4f162 -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101)
}
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.