cheeroncode

Results 7 comments of cheeroncode

@shepmaster `Calm_io` can accomplish its goals with functionality already provided in the library. I'd love to see a way to do that and add `try_format!` to it. But for now,...

@shepmaster You're right, I'm just stating my intent, there's nothing wrong with the sample code. I've added some scenario code to make it more explicit.

> > Formatting to a string cannot fail at all beyond memory allocation. > > technically it can panic if the `fmt` impl returned an error > > ```rust >...

> @cheeroncode I'm afraid your suggestion doesn't really make sense. > > For your specific example, as long as your `#[comment]` attribute macro generates code with the correct span information,...

> sounds like what you really want is a _`proc_macro` API_ compiling the format string, similar to #3200. It's similar in terms of ease of use. It is easier to...

> As far as I can see the 'const_format' crate has a macro that produces a const function that can return an error at compile-time if the arguments do not...