ljy9810
b50d6d940a
syn升级到2.0.114版本
...
Signed-off-by: ljy9810 <longjianyin@h-partners.com >
2026-03-03 14:22:30 +08:00
徐未来
24b56b7a55
syn 1.0.107升级至2.0.48
...
Signed-off-by: 徐未来 <xuweilai2@huawei.com >
2024-04-02 16:51:27 +08:00
openharmony_ci
5496fdbd4c
回退 'Pull Request !6 : syn 1.0.107升级至2.0.48'
2024-04-02 03:27:54 +00:00
徐未来
a83871dba6
syn 1.0.107升级至2.0.48
...
Signed-off-by: 徐未来 <xuweilai2@huawei.com >
2024-04-01 20:47:12 +08:00
openharmony_ci
b23f93737f
回退 'Pull Request !4 : syn 1.0.107升级至2.0.48'
2024-04-01 12:11:54 +00:00
徐未来
38de391e34
syn 1.0.107升级至2.0.48
...
Signed-off-by: 徐未来 <xuweilai2@huawei.com >
2024-03-08 17:26:00 +08:00
David Tolnay
193950cf77
Ignore using destructuring assignment to wildcard pattern
2022-08-31 00:35:49 -07:00
David Tolnay
b7a9f431d7
Format examples with rustfmt 1.5.0
2022-06-18 17:33:21 -07:00
David Tolnay
519b6ac830
Update outdated deps in all the examples
...
dump-syntax
================
Name Project Compat Latest Kind Platform
---- ------- ------ ------ ---- --------
colored 1.9.3 --- 2.0.0 Normal ---
lazy-static-example
================
Name Project Compat Latest Kind Platform
---- ------- ------ ------ ---- --------
aho-corasick 0.6.10 --- 0.7.18 Normal ---
lazy_static 1.4.0 --- Removed Normal ---
regex 0.2.11 --- 1.5.6 Normal ---
regex-syntax 0.5.6 --- 0.6.26 Normal ---
thread_local 0.3.6 --- Removed Normal ---
ucd-util 0.1.8 --- Removed Normal ---
utf8-ranges 1.0.5 --- Removed Normal ---
2022-06-06 14:57:22 -07:00
David Tolnay
32c687df1f
Add all examples into top-level workspace
2022-06-06 13:21:50 -07:00
David Tolnay
18f4af7393
Condense some import blocks
2020-09-05 22:04:36 -07:00
David Tolnay
4f363ca1f9
Release 1.0.0
2019-08-13 09:06:54 -07:00
David Tolnay
e80c6e2c08
Update to proc-macro2 rc3
2019-08-10 22:24:23 -07:00
David Tolnay
25f87c96f6
Update to quote rc3
2019-08-10 20:38:16 -07:00
David Tolnay
8387a8680e
Sort examples dependencies
2019-08-10 13:58:05 -07:00
David Tolnay
a6b6736310
Release 1.0.0-rc1
2019-07-29 09:53:37 -07:00
David Tolnay
5955ec27c6
Patch examples to include updated crates
2019-07-27 15:42:16 -07:00
David Tolnay
52e2ad1f42
Show example of rustc-style error message in comment
2019-03-09 22:25:17 -08:00
David Tolnay
dbe646d748
Update path to dump-syntax main.rs in example invocation
2019-03-09 22:21:45 -08:00
David Tolnay
8666736387
Color the dump-syntax output
2019-03-02 00:45:48 -08:00
David Tolnay
de1cc116a0
Trim trailing whitespace in error message
2019-03-02 00:35:17 -08:00
David Tolnay
5d8d0ab6e6
Add dump-syntax fallback error message
2019-03-02 00:34:44 -08:00
David Tolnay
9351cfd1b8
Use more conventional crate layout for dump-syntax
2019-03-02 00:30:08 -08:00
David Tolnay
828ac81170
Include actual filename in dump-syntax error message
2019-03-02 00:19:47 -08:00
David Tolnay
c7ab599c9c
Format dump-syntax errors in rustc style
2019-03-02 00:08:12 -08:00
David Tolnay
d1424ab64b
Show token that failed to parse in dump-syntax
2019-03-01 23:48:22 -08:00
David Tolnay
5d6d3e7319
Remove "Error:" prefix inserted by returning error from main
2019-03-01 23:23:39 -08:00
David Tolnay
06ea4d48ad
Implement question mark error handling in dump-syntax
2019-03-01 23:06:55 -08:00
David Tolnay
f733d45d6d
Use std::fs helper function in dump-syntax example
2019-03-01 23:01:41 -08:00
David Tolnay
d751c7e21c
Place each standalone example in a workspace
...
This became necessary after adding `[workspace] members = ["dev"]` at
the top of the repo. The crates in the examles directory cannot be part
of the root workspace because multiple of them have the same crate name
"example".
2019-03-01 22:58:30 -08:00
David Tolnay
fd6637138b
Update examples to Rust 2018
2018-10-28 18:05:13 -07:00
David Tolnay
505b48c23c
Eliminate libproc_macro dependency in dump-syntax example
2018-04-08 09:00:16 -07:00
David Tolnay
e43dbe9fc5
Polish dump-ast example code
2018-01-01 00:17:46 -05:00