Compiling proc-macro2 v0.2.3
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:63:33
|
63 | proc_macro::TokenNode::Group(delim, (s.0).0)
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:70:33
|
70 | proc_macro::TokenNode::Op(ch, kind)
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:73:33
|
73 | proc_macro::TokenNode::Term((s.0).0)
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:76:33
|
76 | proc_macro::TokenNode::Literal((l.0).0)
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:124:29
|
124 | proc_macro::TokenNode::Group(delim, s) => {
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:133:29
|
133 | proc_macro::TokenNode::Op(ch, kind) => {
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:140:29
|
140 | proc_macro::TokenNode::Term(s) => {
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:143:29
|
143 | proc_macro::TokenNode::Literal(l) => {
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0433]: failed to resolve. Could not find `TokenNode` in `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:362:21
|
362 | proc_macro::TokenNode::Literal(l) => l,
| ^^^^^^^^^ Could not find `TokenNode` in `proc_macro`
error[E0574]: expected struct, variant or union type, found enum `proc_macro::TokenTree`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:53:21
|
53 | TokenStream(proc_macro::TokenTree {
| ^^^^^^^^^^^^^^^^^^^^^ not a struct, variant or union type
help: possible better candidate is found in another module, you can import it into scope
|
1 | use TokenTree;
|
error[E0412]: cannot find type `TokenTreeIter` in module `proc_macro`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:102:38
|
102 | pub struct TokenTreeIter(proc_macro::TokenTreeIter);
| ^^^^^^^^^^^^^ did you mean `TokenTree`?
help: possible candidates are found in other modules, you can import them into scope
|
1 | use TokenTreeIter;
|
1 | use imp::TokenTreeIter;
|
error[E0277]: the trait bound `proc_macro::TokenStream: std::iter::FromIterator<proc_macro::TokenStream>` is not satisfied
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:86:29
|
86 | TokenStream(streams.collect::<proc_macro::TokenStream>())
| ^^^^^^^ a collection of type `proc_macro::TokenStream` cannot be built from an iterator over elements of type `proc_macro::TokenStream`
|
= help: the trait `std::iter::FromIterator<proc_macro::TokenStream>` is not implemented for `proc_macro::TokenStream`
error[E0599]: no function or associated item named `intern` found for type `proc_macro::Term` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:279:14
|
279 | Term(proc_macro::Term::intern(string))
| ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Term`
error[E0599]: no function or associated item named `float` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:319:17
|
319 | Literal(proc_macro::Literal::float(s))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
error[E0599]: no function or associated item named `integer` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:323:17
|
323 | Literal(proc_macro::Literal::integer(s.into()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
error[E0609]: no field `kind` on type `proc_macro::TokenTree`
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:361:46
|
361 | match stream.into_iter().next().unwrap().kind {
| ^^^^
error[E0599]: no function or associated item named `u8` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `u16` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `u32` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `u64` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `usize` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `i8` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `i16` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `i32` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `i64` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `isize` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:371:25
|
371 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
377 | / ints! {
378 | | u8, u16, u32, u64, usize,
379 | | i8, i16, i32, i64, isize,
380 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `f32` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:386:25
|
386 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
392 | / floats! {
393 | | f32, f64,
394 | | }
| |_- in this macro invocation
error[E0599]: no function or associated item named `f64` found for type `proc_macro::Literal` in the current scope
--> /home/seun/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.2.3/src/unstable.rs:386:25
|
386 | Literal(proc_macro::Literal::$t(t))
| ^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `proc_macro::Literal`
...
392 | / floats! {
393 | | f32, f64,
394 | | }
| |_- in this macro invocation
error: aborting due to 28 previous errors
Some errors occurred: E0277, E0412, E0433, E0574, E0599, E0609.
For more information about an error, try `rustc --explain E0277`.
error: Could not compile `proc-macro2`.
warning: build failed, waiting for other jobs to finish...
error: build failed