León Orell Valerian Liehr

Results 81 comments of León Orell Valerian Liehr

Update: The code from the issue description which contains 1000 pairs of curly braces no longer overflows but updating it to e.g. 1077 pairs does still lead to one. Of...

Hmm, https://github.com/rust-lang/rust/pull/93730#issuecomment-1032345854

This is a known limitation of the borrow checker. It's fixed by Polonius (`-Zpolonius`).

> I had a similar issue, using ref rather than matching on reference fixes it. As far as I know, each match arm may have a different binding mode (move,...

Also compiles successfully with `-Zpolonius` after the following change: ```diff - let Some(content) = &self.item else { unreachable!() }; - content + self.item.as_ref().unwrap() ``` I could close this as a...

Sorry for not getting back to you. I've discussed this with Guillaume and a T-compiler member a while ago. This error is intentional to uphold some soundness invariants of the...

> something like scoped impls, or some way to reify privacy We do have *restrictions* (approved [RFC 3323](https://rust-lang.github.io/rfcs/3323-restrictions.html), [tracking issue](https://github.com/rust-lang/rust/issues/105077)) which we should be able to leverage in some way...

> :bar_chart: 51 regressed and 4 fixed (444840 total) **Minimizations**: 1. `tc-collection` * [Minimized (playground)](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=65813ada409a4b230ca03b24ba7c32db) * Error message of MIN differs slightly cmp'ed to ORIG but that's not substantial *...

Thanks for your report! We are definitely aware of this shortcoming, see also rust-lang/project-const-generics#26 (for const params, i.e., your specific problem) and rust-lang/rust#103292 (for assoc const equality bounds). It's not...