rustdoc-search: let From and Into be unboxed
This commit is contained in:
parent
f068d8b809
commit
246835eda4
3 changed files with 13 additions and 1 deletions
|
@ -22,4 +22,14 @@ const EXPECTED = [
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
'query': 'tyctxt, defid, symbol -> bool',
|
||||
'others': [
|
||||
{
|
||||
'path': 'foo::TyCtxt',
|
||||
'name': 'has_attr',
|
||||
'displayType': "`TyCtxt`, Into<`DefId`>, `Symbol` -> `bool`",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![crate_name="foo"]
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub struct TyCtxt;
|
||||
pub struct DefId;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue