David Tolnay

Results 834 comments of David Tolnay

I am aware of that project but it lost my confidence with a number of repulsive misguided AI-generated changes. Do you know of a better option? "Most popular" is not...

The non-repetition expands to something like this, which is fine: ```rust { let mut _s = ::quote::__private::TokenStream::new(); ::quote::__private::push_dot3(&mut _s); ::quote::ToTokens::to_tokens(&Private, &mut _s); ::quote::__private::push_dot3(&mut _s); _s } ``` The repetition expands...

This correct expansion is probably achievable: ```rust { let mut _s = ::quote::__private::TokenStream::new(); { use ::quote::__private::ext::*; let has_iter = ::quote::__private::ThereIsNoIteratorInRepetition; let (var, i) = Private.quote_into_iter(); let has_iter = has_iter |...

In the short term we can probably fix this to support: ```rust #[cxx::bridge] mod ffi { extern "Rust" { type DynMyData; fn get_data(self: &DynMyData) -> Result; } } impl MyData...