1 error[E0277]: the trait bound `T: Default` is not satisfied
2 --> $DIR/issue-52843.rs:7:5
5 | ^ the trait `Default` is not implemented for `T`
7 help: consider restricting type parameter `T`
9 LL | type Foo<T: std::default::Default> = impl Default;
10 | +++++++++++++++++++++++
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0277`.