diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs
index 10563c61e14..cba58db7c7f 100644
--- a/src/librustdoc/html/markdown.rs
+++ b/src/librustdoc/html/markdown.rs
@@ -393,7 +393,7 @@ impl LangString {
let mut seen_other_tags = false;
let mut data = LangString::all_false();
- let mut tokens = string.split(|c: char|
+ let mut tokens = string.split(|&: c: char|
!(c == '_' || c == '-' || c.is_alphanumeric())
);
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index 80629162854..6da7ec40f34 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -19,6 +19,7 @@
#![allow(unknown_features)]
#![feature(globs, macro_rules, phase, slicing_syntax)]
+#![feature(unboxed_closures)]
extern crate arena;
extern crate getopts;