alexcrichton / futures-await

Apache License 2.0
734 stars 55 forks source link

Revert to last 0.1 version #86

Closed withoutboats closed 6 years ago

seunlanlege commented 6 years ago

yeah I'm going to see how far i can go with this,

basically the proc-macro2 version (0.2.3) that this crate was built with no longer works on the latest nightly compiler, so i'm upgrading it to 0.3

futures-await on  0-1 [!] via 𝗥 v1.27.0 
➜ cargo build
   Compiling proc-macro2 v0.2.3
   Compiling proc-macro2 v0.3.6
   Compiling quote v0.4.2
   Compiling syn v0.12.15
   Compiling futures-await-async-macro v0.1.1 (file:///home/seun/Projects/futures-await/futures-await-async-macro)
error[E0432]: unresolved import `proc_macro::TokenNode`
  --> futures-await-async-macro/src/lib.rs:24:53
   |

..... probably like a billion errors .....

error: aborting due to 84 previous errors

Some errors occurred: E0277, E0308, E0432, E0433, E0574, E0599, E0609, E0615.
For more information about an error, try `rustc --explain E0277`.
error: Could not compile `futures-await-async-macro`.

To learn more, run the command again with --verbose.

WITNESS ME!!!

hcpl commented 6 years ago

Should this be closed in favor of https://github.com/alexcrichton/futures-await/pull/88?

berkus commented 6 years ago

@hcpl looks like #88 is done rather cleanly.

The only remaining reference to old proc-macro2 is in futures-rs then. And I see you did it here https://github.com/rust-lang-nursery/futures-rs/pull/940/