Fix: auto trait, const trait bound
Split from https://github.com/rust-lang/rust/pull/158346. I was fiddling about with the code to understand the behaviour of the snippet below, got confused, and somehow fixed something 🤷
```rust
#![feature(const_trait_impl)]
pub struct Outer<T>(Inner<T>);
struct Inner<T>(T);
impl<T> Unpin for Inner<T>
where
T: const std::default::Default,
{}
```
Fixes https://github.com/rust-lang/rust/issues/149281