rust-parse-generics icon indicating copy to clipboard operation
rust-parse-generics copied to clipboard

Results 4 rust-parse-generics issues
Sort by recently updated
recently updated
newest added

This pull request makes `parse-generics-shim` compatible with Rust 2018 style imports. The introduced changes are twofold: - It adds `local_inner_macros` to macro definitions so that they can be imported with...

Bounds like `F: FnOnce(T) -> U` aren't handled.

Tests should be fairly self explanatory. While I'm here, thanks for making this crate, it's great :)

(Type parameter defaults is a stable feature since Rust 1.0) Input code was something like this: ``` rust macro_rules! DebugBounds { ( ($($bounds:tt)*) $($tail:tt)+ ) => { parse_item! { then...