| commit | 9a13a8a17e5931a4a99580fe2a51ecddd133aa5a | [log] [tgz] |
|---|---|---|
| author | Julien Desprez <jdesprez@google.com> | Thu Feb 11 04:27:43 2021 +0000 |
| committer | Julien Desprez <jdesprez@google.com> | Thu Feb 11 04:27:45 2021 +0000 |
| tree | af2facb8d7df42d417984aac09dc6752115c2b3e | |
| parent | 9082fc7d827f02ff1b35dbe1adee5657139a9361 [diff] |
Clean up rust_test_host TEST_MAPPING after default update After b/177689340, rust_test_host doesn't need TEST_MAPPING config anymore to run in presubmit. Change-Id: I7599f813da8d1bd100e9c7e3b41fb6f758459158 Test: presubmit Bug: 178646865
Providing the features between “full” and “derive” of syn.
This crate provides the following two unique data structures.
syn_mid::ItemFn -- A function whose body is not parsed.
fn process(n: usize) -> Result<()> { ... } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^
syn_mid::Block -- A block whose body is not parsed.
{ ... } ^ ^
Other data structures are the same as data structures of syn. These are defined in this crate because they cannot be used in syn without “full” feature.
Add this to your Cargo.toml:
[dependencies] syn-mid = "0.5"
Compiler support: requires rustc 1.31+
clone-impls — Clone impls for all syntax tree types.Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.