commit | 1218e124e057adf8e41ebca19dc691b77cbb964a | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Jun 01 11:13:45 2017 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Jun 01 11:19:36 2017 -0700 |
tree | 88b89840ec2f9a6935c05382bc74fd0d9c02d4bf | |
parent | a412cd11da50357309701b98e43fed3e60ff1fab [diff] |
Switch from IResult<I, O> to Result<(I, O), LexError>
A small shim over the proc_macro
crate intended to multiplex the current stable interface (as of 2017-05-19) and the upcoming richer interface.
The upcoming support has features like:
My hope is that libraries ported to proc_macro2
will be trivial to port to the real proc_macro
crate once the support on nightly is stabilize.
This crate is still very much a work in progress
proc-macro2
is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.
See LICENSE-APACHE, and LICENSE-MIT for details.