14 Commits

Author SHA1 Message Date
David Tolnay
9289ffcf38
Make cargo test fail more helpfully 2020-05-15 20:11:08 -07:00
David Tolnay
2ccf0206c9 Remove extern crate from tests 2019-08-27 20:48:18 -07:00
David Tolnay
6259e46642
Copyright/license headers
The following changes are included:

- Delete per-file license notices at the top of each file.
- Delete the first paragraph of LICENSE-MIT (an inaccurate
  pseudo-copyright line), leaving only the text of the MIT license.

Nothing about the license of Syn code has changed, only our
understanding of how to correctly communicate that license has changed.

This mirrors an equivalent change being applied in the rust-lang/rust
repository.
2018-11-24 16:20:31 -08:00
David Tolnay
67fea04428
Use Error and Result from root in tests 2018-11-24 14:50:20 -08:00
David Tolnay
c3f98562a8
Diagnose when test features are missing 2018-11-02 08:55:05 -07:00
David Tolnay
b625418e16
Lift parse.rs and lookahead.rs into syn 2018-08-25 08:45:36 -04:00
David Tolnay
ad4b247cf0
Unify the error modules 2018-08-25 08:26:05 -04:00
David Tolnay
65fb5664a8
Format with rustfmt 0.7.0 2018-05-20 20:02:28 -07:00
Alex Crichton
3fec393878
Fix up some final issues 2018-05-20 16:41:41 -07:00
Alex Crichton
499ed64f1e Fix test_ident 2018-05-17 11:02:02 -07:00
David Tolnay
94d2b79e90
Format with rustfmt 0.4.2 2018-04-29 12:26:52 -07:00
David Tolnay
98753eee3f
Format tests with rustfmt 0.4.1 2018-04-06 22:46:08 -07:00
David Tolnay
3beadb7342
Accept _ in Ident::new 2018-04-04 07:53:50 -07:00
David Tolnay
d741aa849b
Add tests for Ident::new and Ident::parse 2018-04-04 07:53:10 -07:00