Auto merge of #133047 - matthiaskrgr:rollup-9se1vth, r=matthiaskrgr
Rollup of 4 pull requests Successful merges: - #128197 (Skip locking span interner for some syntax context checks) - #133040 ([rustdoc] Fix handling of footnote reference in footnote definition) - #133043 (rustdoc-search: case-sensitive only when capitals are used) - #133046 (Clippy subtree update) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
17
tests/rustdoc-js/case.js
Normal file
17
tests/rustdoc-js/case.js
Normal file
@@ -0,0 +1,17 @@
|
||||
const EXPECTED = [
|
||||
{
|
||||
'query': 'Foo',
|
||||
'others': [
|
||||
{ 'path': 'case', 'name': 'Foo', 'desc': 'Docs for Foo' },
|
||||
{ 'path': 'case', 'name': 'foo', 'desc': 'Docs for foo' },
|
||||
],
|
||||
},
|
||||
{
|
||||
'query': 'foo',
|
||||
'others': [
|
||||
// https://github.com/rust-lang/rust/issues/133017
|
||||
{ 'path': 'case', 'name': 'Foo', 'desc': 'Docs for Foo' },
|
||||
{ 'path': 'case', 'name': 'foo', 'desc': 'Docs for foo' },
|
||||
],
|
||||
},
|
||||
];
|
||||
7
tests/rustdoc-js/case.rs
Normal file
7
tests/rustdoc-js/case.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
#![allow(nonstandard_style)]
|
||||
|
||||
/// Docs for Foo
|
||||
pub struct Foo;
|
||||
|
||||
/// Docs for foo
|
||||
pub struct foo;
|
||||
Reference in New Issue
Block a user