mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
34fa27b0bd
proc_macro: Use `ToTokens` trait in `quote` macro Tracking issues: #130977, #54722 This PR changed `proc_macro::quote!` to use `ToTokens` trait instead of `TokenStream::from`, and migrated test cases from `quote` crate. r? `@dtolnay` CC `@tgross35`