diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 788cd80b075..84ab88c4fdc 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -1065,6 +1065,7 @@
block("macro", "Macros");
block("struct", "Structs");
block("enum", "Enums");
+ block("union", "Unions");
block("constant", "Constants");
block("static", "Statics");
block("trait", "Traits");