File tree 4 files changed +10
-98
lines changed
4 files changed +10
-98
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "checksum": "5cd297aee7b1618bc3ab52a21b5c9b7b82726e12ac44889b16336186f873aee3 ",
2
+ "checksum": "86f3866f98596097eea2cee8034bb8ed8fc3f8c3e3835efd418b39d80c52f8c2 ",
3
3
"crates": {
4
4
"aho-corasick 1.0.5": {
5
5
"name": "aho-corasick",
79
79
"target": "quote"
80
80
},
81
81
{
82
- "id": "syn 1 .0.109 ",
82
+ "id": "syn 2 .0.31 ",
83
83
"target": "syn"
84
84
}
85
85
],
2471
2471
},
2472
2472
"license": "MIT"
2473
2473
},
2474
- "syn 1.0.109": {
2475
- "name": "syn",
2476
- "version": "1.0.109",
2477
- "repository": {
2478
- "Http": {
2479
- "url": "https://crates.io/api/v1/crates/syn/1.0.109/download",
2480
- "sha256": "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
2481
- }
2482
- },
2483
- "targets": [
2484
- {
2485
- "Library": {
2486
- "crate_name": "syn",
2487
- "crate_root": "src/lib.rs",
2488
- "srcs": [
2489
- "**/*.rs"
2490
- ]
2491
- }
2492
- },
2493
- {
2494
- "BuildScript": {
2495
- "crate_name": "build_script_build",
2496
- "crate_root": "build.rs",
2497
- "srcs": [
2498
- "**/*.rs"
2499
- ]
2500
- }
2501
- }
2502
- ],
2503
- "library_target_name": "syn",
2504
- "common_attrs": {
2505
- "compile_data_glob": [
2506
- "**"
2507
- ],
2508
- "crate_features": {
2509
- "common": [
2510
- "clone-impls",
2511
- "default",
2512
- "derive",
2513
- "extra-traits",
2514
- "parsing",
2515
- "printing",
2516
- "proc-macro",
2517
- "quote"
2518
- ],
2519
- "selects": {}
2520
- },
2521
- "deps": {
2522
- "common": [
2523
- {
2524
- "id": "proc-macro2 1.0.66",
2525
- "target": "proc_macro2"
2526
- },
2527
- {
2528
- "id": "quote 1.0.33",
2529
- "target": "quote"
2530
- },
2531
- {
2532
- "id": "syn 1.0.109",
2533
- "target": "build_script_build"
2534
- },
2535
- {
2536
- "id": "unicode-ident 1.0.11",
2537
- "target": "unicode_ident"
2538
- }
2539
- ],
2540
- "selects": {}
2541
- },
2542
- "edition": "2018",
2543
- "version": "1.0.109"
2544
- },
2545
- "build_script_attrs": {
2546
- "data_glob": [
2547
- "**"
2548
- ]
2549
- },
2550
- "license": "MIT OR Apache-2.0"
2551
- },
2552
2474
"syn 2.0.31": {
2553
2475
"name": "syn",
2554
2476
"version": "2.0.31",
2579
2501
"clone-impls",
2580
2502
"default",
2581
2503
"derive",
2504
+ "extra-traits",
2582
2505
"full",
2583
2506
"parsing",
2584
2507
"printing",
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ proc-macro = true
9
9
[dependencies ]
10
10
proc-macro2 = " 1.0"
11
11
quote = " 1.0"
12
- syn = {version =" 1.0 " , features =[" extra-traits" ]}
12
+ syn = {version =" 2 " , features =[" extra-traits" ]}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ pub fn get(input: &[Attribute]) -> Result<Attrs> {
38
38
} ;
39
39
40
40
for attr in input {
41
- if attr. path . is_ident ( "annotate" ) {
41
+ if attr. path ( ) . is_ident ( "annotate" ) {
42
42
attrs. annotate = Some ( attr) ;
43
43
parse_annotate_attribute ( & mut attrs, attr) ?;
44
44
}
You can’t perform that action at this time.
0 commit comments