#generics #parse #plugin #macro #where #parser

nightly parse-generics-poc

A proof-of-concept implementation of the proposed RFC #1583; provides macros for parsing generics and where clauses. Note: requires a compatible nightly compiler. For a stable alternative, see the parse-generics-shim crate.

1 unstable release

Uses old Rust 2015

0.1.0 May 1, 2016

#6 in #where

27 downloads per month
Used in 3 crates

MIT/Apache

28KB
706 lines

This crate contains a proof-of-concept implementation for the parse-generics-and-where RFC. It requires the rustc nightly from 2016-04-06.

As this is a proof-of-concept compiler plugin, you should avoid using this crate directly. Instead, you should use the stable parse-generics-shim crate if possible. The macros in this plugin can be used by enabling the shim crate's use-parse-generics-poc feature.

<style type="text/css"> .link-block { font-family: "Fira Sans"; } .link-block > p { display: inline-block; } .link-block > p > strong { font-weight: 500; margin-right: 1em; } .link-block > ul { display: inline-block; padding: 0; list-style: none; } .link-block > ul > li { font-size: 0.8em; background-color: #eee; border: 1px solid #ccc; padding: 0.3em; display: inline-block; } </style>

No runtime deps