mirror of https://github.com/rust-lang/rust.git
36 lines
881 B
JavaScript
36 lines
881 B
JavaScript
// exact-check
|
|
// ignore-order
|
|
|
|
const EXPECTED = [
|
|
{
|
|
'query': 'tyctxt, symbol -> bool',
|
|
'others': [
|
|
{
|
|
'path': 'foo::TyCtxt',
|
|
'name': 'has_attr',
|
|
'displayType': "`TyCtxt`, Into<DefId>, `Symbol` -> `bool`",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
'query': 'tyctxt, into<defid>, symbol -> bool',
|
|
'others': [
|
|
{
|
|
'path': 'foo::TyCtxt',
|
|
'name': 'has_attr',
|
|
'displayType': "`TyCtxt`, `Into`<`DefId`>, `Symbol` -> `bool`",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
'query': 'tyctxt, defid, symbol -> bool',
|
|
'others': [
|
|
{
|
|
'path': 'foo::TyCtxt',
|
|
'name': 'has_attr',
|
|
'displayType': "`TyCtxt`, Into<`DefId`>, `Symbol` -> `bool`",
|
|
},
|
|
],
|
|
},
|
|
];
|