()
| 105 | |
| 106 | #[test] |
| 107 | fn test_probe() { |
| 108 | let layout = probe_layout_of("type T<'a> = &'a str;").unwrap(); |
| 109 | assert_eq!(layout, Layout::new::<&str>()); |
| 110 | let layout = probe_layout_of("type T = (i32, i32);").unwrap(); |
| 111 | assert_eq!(layout, Layout::new::<(i32, i32)>()); |
| 112 | } |
| 113 | } |
nothing calls this directly
no test coverage detected