2025-09-02 11:41:21 -05:00
|
|
|
// make sure type-based searches with traits get unboxed too
|
2023-06-03 12:00:37 -07:00
|
|
|
|
|
|
|
|
const EXPECTED = [
|
|
|
|
|
{
|
2025-09-02 11:41:21 -05:00
|
|
|
'query': 'any -> result<box>',
|
2023-06-03 12:00:37 -07:00
|
|
|
'others': [
|
2025-09-02 11:41:21 -05:00
|
|
|
{ 'path': 'std::boxed::Box', 'name': 'downcast' },
|
2024-09-24 18:18:01 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
'query': 'split<bufread> -> option<result<vec<u8>>>',
|
|
|
|
|
'others': [
|
|
|
|
|
{ 'path': 'std::io::Split', 'name': 'next' },
|
2023-06-03 12:00:37 -07:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|