León Orell Valerian Liehr
León Orell Valerian Liehr
Okay, now using `bug!()` (just like in the `Drop` visitor). I've slightly simplified the implementation (making things less awkward) and now point at the self-type in all branches which is...
ready
The compiler only checks if the type implements `Copy` already to return early and not emit the lint diagnostic but it doesn't check if the type implements `!Copy`: https://github.com/rust-lang/rust/blob/4af79ccd5e23c7cbaabcd7aefdda3b715abde606/compiler/rustc_lint/src/builtin.rs#L753
Ah, I just noticed this issue. It's a duplicate / subset? of #11908.
The code now compiles successfully. Closing as fixed.
CC #119338 which would fix this I think.
Nope, Chalk *is* dead (rust-lang/rust#113303). Its replacement is the “next gen trait solver”. The full quote is as follows (with context added): > > Given that chalk is not going...
I generally like the idea of `TryIndex{,Mut}` but I'm not really sold on `$expr[$expr]_?`. Would `$expr[$expr]_` also be allowed to enable for example `$expr[$expr]_.unwrap_or($expr)`?
We do