徐未来
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
14342b6c31
Resolve needless_borrow clippy lint
...
error: this expression borrows a reference (`&syn::parse::ParseBuffer`) that is immediately dereferenced by the compiler
--> tests/test_parse_buffer.rs:15:35
|
15 | input1.advance_to(&input2);
| ^^^^^^^ help: change this to: `input2`
|
= note: `-D clippy::needless-borrow` implied by `-D clippy::all`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
2021-09-30 02:07:25 -04:00
David Tolnay
749b3a36e2
Run clippy on test suite too
2021-09-30 02:03:11 -04:00
David Tolnay
1d4dc0e9d5
Add test for parsing with trailing None delimited groups
2020-04-22 20:43:14 -07:00
David Tolnay
be2bafb8db
Remove extern crate from tests
2019-08-27 20:48:18 -07:00
David Tolnay
b9f80c5ca1
Test smuggle between sources without unsafe
2019-06-23 13:15:34 -07:00
David Tolnay
534f53b193
Format with rustfmt 2019-06-09
2019-06-23 13:15:29 -07:00
cad97
ee3177773f
Add speculative smuggling test into bracket context
2019-06-18 19:00:23 -04:00
cad97
0563a21c89
Add speculative smuggling test between bracket contexts
2019-06-18 17:56:22 -04:00
cad97
696baaac20
Add Speculative::advance_to for speculative parsing
2019-06-18 16:59:13 -04:00