]> git.lizzy.rs Git - rust.git/blob - tests/pass/tuple_like_struct_constructor.rs
make tests pass again
[rust.git] / tests / pass / tuple_like_struct_constructor.rs
1 fn main() {
2     #[derive(PartialEq, Eq, Debug)]
3     struct A(i32);
4     assert_eq!(Some(42).map(A), Some(A(42)));
5 }