Uh oh!
There was an error while loading. Please reload this page.
Fix macro missing from doc search - #51592
Conversation
ollie27
commented
Jun 18, 2018
It's not just macros, it's any namespace collision like the following: pubfnfoo(){}pubstructfoo{}only one |
GuillaumeGomez
commented
Jun 18, 2018
I'll extend the fix then. |
GuillaumeGomez
commented
Jun 18, 2018
@ollie27: Your code doesn't work btw (for obvious reasons) but I extended my fix to make it work on all items at once. |
emilyalbini
commented
Jun 25, 2018
Ping from triage @QuietMisdreavus! This PR needs your review. |
| // used for special search precedence | ||
| var TY_PRIMITIVE = itemTypes.indexOf("primitive"); | ||
| var TY_KEYWORD = itemTypes.indexOf("keyword"); | ||
| var TY_MACRO = itemTypes.indexOf("macro"); |
There was a problem hiding this comment.
TY_MACRO is no longer used anywhere.
ollie27
commented
Jun 25, 2018
What code? This will need to be backported to beta as it affects 1.28. |
GuillaumeGomez
commented
Jun 25, 2018
This one: pubfnfoo(){}pubstructfoo{} |
GuillaumeGomez
commented
Jun 28, 2018
I'll just go ahead, this is a huge fix and I know that @QuietMisdreavus is very busy. Not having a fully working search is just too much of a problem. @bors: r+ p=1 |
bors
commented
Jun 28, 2018
📌 Commit e3b2583 has been approved by |
bors
commented
Jun 29, 2018
…meGomez Fix macro missing from doc search Fixes#51095. r? @QuietMisdreavus
bors
commented
Jun 29, 2018
☀️ Test successful - status-appveyor, status-travis |
emilyalbini
commented
Jun 30, 2018
Ping @rust-lang/rustdoc, can someone approve the beta backport (if you want to do that)? Thanks! |
GuillaumeGomez
commented
Jul 1, 2018
I approve it (if needed). |
Fixes#51095.
r? @QuietMisdreavus