Skip to content

Commit 67b1034

Browse files
committed
rustdoc: Resolve some FIXMEs
1 parent fdf50e8 commit 67b1034

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/rustdoc/attr_parser.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,10 @@ mod test {
8080

8181
fn parse_attributes(source: str) -> [ast::attribute] {
8282
import rustc::syntax::parse::parser;
83-
// FIXME: Uncommenting this results in rustc bugs
84-
//import rustc::syntax::codemap;
83+
import rustc::syntax::codemap;
8584
import rustc::driver::diagnostic;
8685

87-
let cm = rustc::syntax::codemap::new_codemap();
86+
let cm = codemap::new_codemap();
8887
let handler = diagnostic::mk_handler(none);
8988
let parse_sess = @{
9089
cm: cm,

src/rustdoc/fold.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME: Random import to solve the mystery resolve bug
2-
import std;
3-
41
export fold;
52
export fold_crate, fold_mod, fold_fn;
63
export default_seq_fold;

0 commit comments

Comments
 (0)