dtolnay / paste

Macros for all your token pasting needs
Apache License 2.0
983 stars 53 forks source link

Produce clone of input tokenstream if contains no paste #86

Closed dtolnay closed 1 year ago

dtolnay commented 1 year ago

This is a partial mitigation for #85. It only helps if the entire macro input contains no pastes [<>], such as in the minimal repro in that issue. Every other case involving Delimiter::None still remains broken due to https://github.com/rust-lang/rust/issues/67062.