mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
db277f5284
This feature extends rustdoc to support the syntax that most users will naturally attempt to use to search for diverging functions. Part of #60485 It's already possible to do this search with `primitive:never`, but that's not what the Rust language itself uses, so nobody will try it if they aren't told or helped along.
15 lines
264 B
JavaScript
15 lines
264 B
JavaScript
const EXPECTED = [
|
|
{
|
|
'query': '!',
|
|
'others': [
|
|
{ 'path': 'std', 'name': 'never' },
|
|
],
|
|
},
|
|
{
|
|
'query': '!::clone',
|
|
'others': [
|
|
{ 'path': 'std::never', 'name': 'clone' },
|
|
],
|
|
},
|
|
];
|