diff --git a/src/librustdoc/html/static/sidebar-items.js b/src/librustdoc/html/static/sidebar-items.js
index 81172ba0d9280..256cd2740a010 100644
--- a/src/librustdoc/html/static/sidebar-items.js
+++ b/src/librustdoc/html/static/sidebar-items.js
@@ -1 +1,2 @@
+/* global initSidebarItems */
initSidebarItems({});