rust/tests/ui/issues/auxiliary/issue-4545.rs

3 lines
63 B
Rust

pub struct S<T>(Option<T>);
pub fn mk<T>() -> S<T> { S(None) }