1
Fork 0

The sym crate is not a thing

This commit is contained in:
Michael Goulet 2025-02-23 03:02:46 +00:00
parent 46420c9607
commit 506532aad2

View file

@ -186,7 +186,7 @@ fn true_significant_drop_ty<'tcx>(
debug!(?name_str); debug!(?name_str);
match name_str[..] { match name_str[..] {
// These are the types from Rust core ecosystem // These are the types from Rust core ecosystem
["sym" | "proc_macro2", ..] ["syn" | "proc_macro2", ..]
| ["core" | "std", "task", "LocalWaker" | "Waker"] | ["core" | "std", "task", "LocalWaker" | "Waker"]
| ["core" | "std", "task", "wake", "LocalWaker" | "Waker"] => Some(smallvec![]), | ["core" | "std", "task", "wake", "LocalWaker" | "Waker"] => Some(smallvec![]),
// These are important types from Rust ecosystem // These are important types from Rust ecosystem