string_to_expr 0.0.2

Compile-time expression evaluation for strings
Build #59367 2017-06-06T05:53:01.433763+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
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading string_to_expr v0.0.2
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 -L dependency=/home/cratesfyi/cratesfyi/debug/deps`
error[E0432]: unresolved import `rustc::plugin::Registry`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/lib.rs:11:5
|
11 | use rustc::plugin::Registry;
|     ^^^^^^^^^^^^^^^^^^^^^^^ Could not find `plugin` in `rustc`

error[E0432]: unresolved import `syntax::diagnostic::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/parser_any_macro.rs:14:13
|
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::FatalError`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/parser_any_macro.rs:14:13
|
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
| use syntax::ext::tt::quoted::TokenTree;
| use syntax::tokenstream::TokenTree;

error[E0531]: cannot find tuple struct/variant `ExprLit` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/lib.rs:28:14
|
28 |         ast::ExprLit(ref spanned) => {
|              ^^^^^^^ not found in `ast`
|
help: possible candidates are found in other modules, you can import them into scope
|                       tts: &[ast::TokenTree]) -> Box<MacResult + 'a> use rustc::hir::ExprLit;
|                       tts: &[ast::TokenTree]) -> Box<MacResult + 'a> use rustc::hir::Expr_::ExprLit;

error[E0531]: cannot find tuple struct/variant `LitStr` in module `ast`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/string_to_expr-0.0.2/src/lib.rs:30:22
|
30 |                 ast::LitStr(ref s, _) => s.to_string(),
|                      ^^^^^^ not found in `ast`

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 '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 -L dependency=/home/cratesfyi/cratesfyi/debug/deps` (exit code: 101)
}', src/bin/cratesfyi.rs:136
note: Run with `RUST_BACKTRACE=1` for a backtrace.