Michael Goulet
Michael Goulet
@Mark-Simulacrum: In https://github.com/rust-lang/rust/issues/55149#issuecomment-1150197680, @joshtriplett said: > We'd like to close the remainder of this, and just not allow non-Copy union fields in general, changing that from a feature gate to...
You need to implement `Debug` for `dyn ConnectionDriver + Send`, which in this usage acts as a distinct type from `dyn ConnectionDriver`.
I can probably implement a better error message for this, though...
@rise0chen, I think that would be a backwards-incompatible change with current behavior, because then these `impl`s would overlap: ```rust trait Bar {} trait Foo {} impl Foo for dyn Bar...
We should probably replace the lifetimes in the `typeof` recovery with `'static`
good idea, because highfive bot chose me, but I am also not an expert :^)
@bors r=davidtwco
r? oli-obk cc @JakobDegen
For the record, on nightly, both `import` and `using` suggest using `use`. I'm sure it's not that difficult to add `require`.
I'm curious if changing the size of hir generics has any noticeable effect on perf, since most people would be messing with it behind a `&hir::Generics