rustdoc-search: let From and Into be unboxed

This commit is contained in:
Michael Howell 2024-12-13 11:05:30 -07:00
parent f068d8b809
commit 246835eda4
3 changed files with 13 additions and 1 deletions

View file

@ -22,4 +22,14 @@ const EXPECTED = [
},
],
},
{
'query': 'tyctxt, defid, symbol -> bool',
'others': [
{
'path': 'foo::TyCtxt',
'name': 'has_attr',
'displayType': "`TyCtxt`, Into<`DefId`>, `Symbol` -> `bool`",
},
],
},
];

View file

@ -1,4 +1,4 @@
#![crate_name="foo"]
#![crate_name = "foo"]
pub struct TyCtxt;
pub struct DefId;