Mirroring the change to bound types in https://github.com/rust-lang/rust/pull/55330. cc @eddyb