miniblog.
← Back to all posts
Wilfred Hughes
Feb 23, 2019 at 01:40
The try! macro has been removed in Rust 2018 edition!
https://github.com/rust-lang/rust/issues/53686#issuecomment-417441634
(It's now its own keyword.)
Macro invocations bypass new keyword identifier checks · Issue #53686 · rust-lang/rust
This code currently compiles on nightly: #![warn(rust_2018_compatibility)] #![feature(rust_2018_preview)] macro_rules! r#async { () => () } fn main() { async!(); } .. with no warnings, but it shoul...