1 2 3 4 5 6 7
// check-pass trait ValidTrait {} /// This has docs pub fn f() -> impl ValidTrait { Vec::<DoesNotExist>::new() }