Ilya Salauyeu
Ilya Salauyeu
@tyranron @JelteF I think my [argument about discoverability](https://github.com/JelteF/derive_more/issues/216#issuecomment-1323472179) applies here as well. If we support following: ```rust // derive_more::From fits nicely into this pattern as well #[derive(Debug, Display, Error, From)]...
@ModProg > But I'd argue that `#[display("Compound error: {}, {self}", some_expression())]` should at least be supported on top. Isn't `#[display("{self}")]` a recursive call?
@ModProg > Is there any use for a recursive Display? No, I don't think so. > True. So maybe `variant`? As I mentioned before I'm against "magical" names.
@tyranron actually this case doesn't work on `master`, but for a different reason: we haven't decided yet on how to implement affix https://github.com/JelteF/derive_more/issues/142
@JelteF > bikeshed: I think I prefer rename over rename_all. That way you could also put rename on a single field. The top level rename would then simply set the...
@dignifiedquire maybe for some reason this won't work for you, but you can just add git dependency on a specific commit. So current latest `main` will look like: ```toml derive_more...
@vorner I use `sound` here in means [defined by David Tolnay](https://docs.rs/dtolnay/latest/dtolnay/macro._03__soundness_bugs.html): > Soundness is a statement about whether all possible uses of a library or language feature uphold the intended...
@vorner I've found pretty sketchy, but working solution: [`playground`](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=045b229bba339506a8d12da9f1c089a6). But this would definitely increase MSRV. --- > Unsound is something you can make to do undefined behavior without using any...
@vorner > I'm still thinking if I can actually make the nested Option work, instead of forbidding it. I don't think this is possible. Single `Option` works, because pointer inside...
> Actually, I'm starting to think there are 😈. The pointers that come from Arc and Rc are necessarily aligned (because the pointee holds not only the actual value, but...