summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/error-in-impl-trait/generic-argument.rs
blob: dcec379d47e946c0b91fc2fae68a3d50b806a94f (plain)
1
2
3
4
5
6
7
// check-pass
trait ValidTrait {}

/// This has docs
pub fn f() -> impl ValidTrait {
    Vec::<DoesNotExist>::new()
}