From 85d086ff09d6998bd8b5b6f1778a798c39084ee2 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 26 Mar 2023 10:08:46 -0700 Subject: [PATCH] Expose a way to fuzz with span-locations --- fuzz/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 3a2dee488c..94578e6210 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -13,6 +13,9 @@ libfuzzer-sys = "0.4" proc-macro2 = "1.0.52" syn = { path = "..", default-features = false, features = ["full", "parsing"] } +[features] +span-locations = ["proc-macro2/span-locations"] + [[bin]] name = "create_token_buffer" path = "fuzz_targets/create_token_buffer.rs"