Michal 'vorner' Vaner

Results 259 comments of Michal 'vorner' Vaner

Reading the docs, doesn't this stringify the error? Won't it lose all the `source` chain, type information and such? I'd hope it could somehow convert the existing `dyn Error` from...

Oh, I'm reading through the source code and it seems to be preserving it somehow. Would you mind if I send a PR making such usage clearer in the docs?...

It could be shorter with `map_err` instead of explicit match, eg something like: ```rust something_returning_boxed_error().map_err(|e| anyhow!(e))? ``` This would be even slightly more ergonomic if it existed as a function/constructor/method,...

I'd say neither is usable in a "production" project that disallows both nightly and unsafe :-(. If I really needed that (instead of preferring not to allocate on the heap),...

Well, the `dyn Trait` is a type in its own right, so at least the first part is not really true. There also _is_ a conversion for unsizing, but it's...

I don't think so. That one talks about bundling a different *binary* into the -dbg, which is wrong. The idea with the -dbg package is, you can install it after...

That sounds like a lot of manual configuration for something that should basically mirror the list of binaries, but yes, maybe it cold be done. However, something still needs to...

> Which tools do you use to extract debug info to a separate file? Usually, the debian helpers do all the magic. However, when I tried to search how to...

Alright. Seems like it's time to go over the proof again, trying to find the missing edge :-|.

Just letting everyone know. This one is probably going to take a while, and I'm getting around to it in spare half an hour now and then. I hope to...